Skip to content

Commit

Permalink
Merge 71b9797 into 862fab2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdiem committed Feb 21, 2018
2 parents 862fab2 + 71b9797 commit c680657
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 30 deletions.
25 changes: 9 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
language: python
python:
- "2.7"

- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- TOX_ENV=py27-1.10
- TOX_ENV=py34-1.10
- TOX_ENV=py35-1.10
- TOX_ENV=py27-1.9
- TOX_ENV=py34-1.9
- TOX_ENV=py35-1.9
- TOX_ENV=py27-1.8
- TOX_ENV=py33-1.8
- TOX_ENV=py34-1.8
- TOX_ENV=py35-1.8
- TOX_ENV=py27-1.7
- TOX_ENV=py33-1.7
- TOX_ENV=py34-1.7
- DJANGO="1.7"
- DJANGO="1.8"
- DJANGO="1.9"
- DJANGO="1.10"

install:
- pip install -U setuptools wheel
- python setup.py develop
- pip install --use-wheel -U -r requirements/ci.txt
- pip install tox
- pip install tox-travis

script:
- tox -e $TOX_ENV
- tox

after_success:
- coveralls
40 changes: 26 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,84 +1,95 @@
[tox]
envlist = py27-1.10, py34-1.10, py35-1.10, py27-1.9, py34-1.9, py35-1.9, py27-1.8, py33-1.8, py34-1.8, py35-1.8, py27-1.7, py33-1.7, py34-1.7, docs
envlist = py{27,34,35}-django1.{9,10}, py{27, 33, 34, 35}-django1.8, py{27, 33, 34}-django1.7, docs

[travis]
python = 2.7: py27
python = 3.4: py34, docs

[travis:env]
DJANGO =
1.7: django1.7
1.8: django1.8, docs
1.9: django1.9
1.10: django1.10

[testenv]
commands = python runtests.py
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/cid

[testenv:py27-1.10]
[testenv:py27-django1.10]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py34-1.10]
[testenv:py34-django1.10]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py35-1.10]
[testenv:py35-django1.10]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py27-1.9]
[testenv:py27-django1.9]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py34-1.9]
[testenv:py34-django1.9]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py35-1.9]
[testenv:py35-django1.9]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py27-1.8]
[testenv:py27-django1.8]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py33-1.8]
[testenv:py33-django1.8]
basepython = python3.3
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py34-1.8]
[testenv:py34-django1.8]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py35-1.8]
[testenv:py35-django1.8]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py27-1.7]
[testenv:py27-django1.7]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.7,<1.8

[testenv:py33-1.7]
[testenv:py33-django1.7]
basepython = python3.3
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.7,<1.8

[testenv:py34-1.7]
[testenv:py34-django1.7]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
Expand All @@ -88,5 +99,6 @@ deps =
changedir = docs
deps =
Sphinx==1.2.2
-r{toxinidir}/requirements/ci.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit c680657

Please sign in to comment.