Make tests run all once (now with docs).

This commit is contained in:
Juan Ignacio Fiorentino 2018-07-12 14:45:54 -03:00
parent e7eaa52e50
commit 2e83393b65
2 changed files with 5 additions and 16 deletions

View file

@ -1,22 +1,8 @@
language: python language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
env:
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
matrix:
exclude:
- python: "2.7"
env: DJANGO=2.0
install: install:
- pip install tox coveralls - pip install tox coveralls
script: script:
- tox -e py${TRAVIS_PYTHON_VERSION//[.]/}-django${DJANGO//[.]/} - tox
after_success: after_success:
- coveralls - coveralls

View file

@ -1,5 +1,6 @@
[tox] [tox]
envlist= envlist=
docs,
py27-django{18,19,110,111}, py27-django{18,19,110,111},
py34-django{18,19,110,111,20}, py34-django{18,19,110,111,20},
py35-django{18,19,110,111,20}, py35-django{18,19,110,111,20},
@ -27,6 +28,8 @@ commands =
[testenv:docs] [testenv:docs]
basepython = python2.7 basepython = python2.7
changedir = docs changedir = docs
whitelist_externals =
mkdir
deps = deps =
sphinx sphinx
sphinx_rtd_theme sphinx_rtd_theme