add py37 / Django 2.1 to travis, restructure matrix

This commit is contained in:
Thomas Waldmann 2018-09-30 22:16:28 +02:00
parent c93daae899
commit 04c7d35e0e

View File

@ -4,16 +4,6 @@ language: python
os: linux os: linux
dist: trusty
python:
- "2.7"
- "pypy"
- "3.4"
- "3.5"
- "3.6"
- "3.6-dev"
env: env:
global: global:
- SECRET_KEY=justfortravis - SECRET_KEY=justfortravis
@ -22,24 +12,24 @@ env:
- TEST_K="not ddns_client" - TEST_K="not ddns_client"
- TEST_OPTS="" - TEST_OPTS=""
- COVERAGE="" - COVERAGE=""
matrix:
- DJANGO=1.11
matrix: matrix:
exclude:
- python: "2.7"
env: DJANGO=1.11
- python: "3.6"
env: DJANGO=1.11
- python: "3.6-dev"
env: DJANGO=1.11
include: include:
- python: "2.7" - python: "2.7"
dist: trusty
env: DJANGO=1.11 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8" env: DJANGO=1.11 COVERAGE="coverage run -m" TEST_K="not ddns_client" TEST_OPTS="--pep8"
- python: "3.6" - python: "3.4"
dist: trusty
env: DJANGO=1.11 env: DJANGO=1.11
- python: "3.6-dev" - python: "3.5"
env: DJANGO=2.0 dist: trusty
env: DJANGO=1.11
- python: "3.6"
dist: trusty
env: DJANGO=1.11
- python: "3.7"
dist: xenial
env: DJANGO=2.1
install: install:
- ./scripts/travis/install.sh - ./scripts/travis/install.sh