diff --git a/.travis.yml b/.travis.yml index b62110a..2806eff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,26 +2,24 @@ sudo: false language: python cache: pip python: - - '3.5' +- 3.5 +- 3.8 before_install: - - 'uname -a' - - 'python --version' +- uname -a +- python --version install: - - 'pip install tox' - - 'virtualenv --version' - - 'easy_install --version' - - 'pip --version' - - 'tox --version' +- pip install tox +- virtualenv --version +- easy_install --version +- pip --version +- tox --version script: - - 'tox -v' +- tox -v branches: - only: - - 'master' + only: + - master env: - - TOXENV=py35-django111 - - TOXENV=py35-django20 - - TOXENV=py35-django21 - - TOXENV=py35-django22 - - TOXENV=coverage - - TOXENV=pep8 - - TOXENV=pylint +- TOXENV=django22 +- TOXENV=coverage +- TOXENV=pep8 +- TOXENV=pylint diff --git a/setup.py b/setup.py index eedd5fd..bfd288e 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def run_tests(self): setup( name='invideoquiz-xblock', - version='0.1.7', + version='0.1.8', description='Helper XBlock to locate CAPA problems within videos.', license='AGPL v3', packages=[ diff --git a/tox.ini b/tox.ini index 00d4eec..055eb70 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,12 @@ [tox] downloadcache = {toxworkdir}/_download/ -envlist = {py35}-django{111,20,21,22},coverage,pep8,pylint +envlist = py35-django22,py38-django{22,30},coverage,pep8,pylint [testenv] deps: - django111: Django>=1.11,<2.0 - django20: Django>=2.0,<2.1 - django21: Django>=2.1,<2.2 django22: Django>=2.2,<2.3 + django30: Django>=3.0,<3.1 -rrequirements.txt commands = python manage.py test