Fix Travis CI builds

This commit is contained in:
Aurélien Delobelle 2017-12-24 19:13:16 +01:00
parent e3446fbf4f
commit 37b744a130
2 changed files with 21 additions and 25 deletions

View file

@ -1,26 +1,20 @@
language: python language: python
python: "3.6"
env: python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
matrix: matrix:
- TOXENV=py27-django18 include:
- TOXENV=py34-django18 - python: '3.6'
- TOXENV=py35-django18 env: TOXENV=flake8
- TOXENV=py27-django19 - python: '3.6'
- TOXENV=py34-django19 env: TOXENV=isort
- TOXENV=py35-django19
- TOXENV=py27-django110
- TOXENV=py34-django110
- TOXENV=py35-django110
- TOXENV=py27-django111
- TOXENV=py34-django111
- TOXENV=py35-django111
- TOXENV=py36-django111
- TOXENV=flake8
- TOXENV=isort
install: install:
- pip install coverage coveralls tox - pip install coverage coveralls tox tox-travis
script: script:
- tox - tox

View file

@ -1,7 +1,8 @@
[tox] [tox]
envlist = envlist =
py{27,34,35}-django{18,19,110} django{18,19,110}-py{27,34,35},
py{27,34,35,36}-django111, django111-py{27,34,35,36},
django20-py{34,35,36},
cov_combine, cov_combine,
flake8, flake8,
isort isort
@ -12,6 +13,7 @@ deps =
django19: django>=1.9,<1.10 django19: django>=1.9,<1.10
django110: django>=1.10,<1.11 django110: django>=1.10,<1.11
django111: django>=1.11,<2.0 django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
coverage coverage
mock ; python_version < "3.0" mock ; python_version < "3.0"
usedevelop = True usedevelop = True