Skip to content

Commit

Permalink
split versions running for Travis, update versions, add caching
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jan 26, 2018
1 parent 6a053c2 commit bbfd793
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
20 changes: 17 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,23 @@ python:
- "3.6"

env:
- TOXENV=py27-1.8.X,py34-1.8.X,py35-1.8.X
- TOXENV=py27-1.10.X,py34-1.10.X,py35-1.10.X
- TOXENV=py27-1.11.X,py34-1.11.X,py36-1.11.X
- TOXENV=py27-1.8.X
- TOXENV=py34-1.8.X
- TOXENV=py35-1.8.X

- TOXENV=py27-1.10.X
- TOXENV=py34-1.10.X
- TOXENV=py35-1.10.X

- TOXENV=py27-1.11.X
- TOXENV=py34-1.11.X
- TOXENV=py35-1.11.X
- TOXENV=py36-1.11.X

- TOXENV=py34-2.0.X
- TOXENV=py35-2.0.X
- TOXENV=py36-2.0.X

- TOXENV=coverage
- TOXENV=docs
- TOXENV=qunit
Expand Down
9 changes: 8 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
# 1.8: 2.7, 3.2, 3.3, 3.4, 3.5
# 1.10: 2.7, 3.4, 3.5
# 1.11: 2.7, 3.4, 3.5, 3.6
# 2.0: 3.4, 3.5, 3.6

[tox]
envlist = {py27,py34,py35}-1.8.X,{py27,py34,py35}-1.10.X,{py27,py34,py36}-1.11.X,coverage,docs,qunit
envlist =
{py27,py34,py35}-1.8.X,
{py27,py34,py35}-1.10.X,
{py27,py34,py35,py36}-1.11.X,
{py34,py35,py36}-{2.0}.X,
coverage,docs,qunit

[testenv]
passenv = TRAVIS DISPLAY
Expand All @@ -18,6 +24,7 @@ deps =
1.8.X: Django>=1.8,<1.9
1.10.X: Django>=1.10,<1.11
1.11.X: Django>=1.11,<2.0
2.0.X: Django>=2.0,<2.1
Jinja2
selenium
whitelist_externals = make
Expand Down

0 comments on commit bbfd793

Please sign in to comment.