Skip to content

Commit

Permalink
Update Travis and Tox configuration to also run on Py3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Mar 27, 2017
1 parent cedb209 commit dc3e482
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
sudo: false
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- '2.6'
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install -U pip wheel setuptools
- pip install tox tox-travis
Expand Down
28 changes: 12 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
[tox]
envlist =
python35-django110, python35-django19, python35-django18
python34-django110, python34-django19, python34-django18, python34-django17
python33-django18, python33-django17, python33-django16
python27-django110, python27-django19, python27-django18, python27-django17, python27-django16, python27-django15, python27-django14,
python26-django16, python26-django15, python26-django14
py36-{django110,django19,django18}
py35-{django110,django19,django18}
py34-{django110,django19,django18,django17}
py33-{django18,django17,django16}
py27-{django110,django19,django18,django17,django16,django15,django14}
py26-{django16,django15,django14}

[tox:travis]
2.6 = python26
2.7 = python27
3.3 = python33
3.4 = python34
3.5 = python35
2.6 = py26
2.7 = py27
3.3 = py33
3.4 = py34
3.5 = py35
3.6 = py36

[testenv]
setenv = PYTHONPATH = {toxinidir}
commands = python setup.py test
basepython =
python26: python2.6
python27: python2.7
python33: python3.3
python34: python3.4
python35: python3.5
deps =
django14: Django>=1.4,<1.5
django15: Django>=1.5,<1.6
Expand Down

0 comments on commit dc3e482

Please sign in to comment.