From ef3673cd4fce4d6da1adb4d081d35a4019ee8d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20H=C3=A4kli?= Date: Fri, 8 Nov 2019 18:00:22 +0200 Subject: [PATCH] Add Python 3.7, 3.8 and PyPy3 to test version matrix --- .travis.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b1608d..d3e0f01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,28 @@ language: python - dist: xenial - +cache: pip python: - "2.7" - "3.4" - "3.5" - "3.6" - + - "3.7" + - "3.8" + - "pypy3" env: - DJANGO=1.11 - DJANGO=2.0 - DJANGO=2.1 - DJANGO=2.2 - services: - redis-server - install: - - pip install -q django~=$DJANGO.0 - - pip install coveralls - - pip install mockredispy - - pip install django-redis-cache - - pip install 'celery<5' + - pip install coveralls mockredispy django-redis-cache celery<5 + - pip install -q django~=$DJANGO - python setup.py develop - script: - PYTHONPATH=$PYTHONPATH:$PWD coverage run --source=defender $(which django-admin.py) test defender --settings=defender.travis_settings - coverage report -m - matrix: exclude: - python: "2.7" @@ -43,6 +37,5 @@ matrix: env: DJANGO=2.1 - python: "3.4" env: DJANGO=2.2 - after_success: - coveralls --verbose