Skip to content

Commit ed5dcd5

Browse files
committed
Add Python 3.5 to tox, Travis configs
1 parent 33f8309 commit ed5dcd5

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,35 @@ language: python
22

33
python:
44
- "2.7"
5+
- "3.5"
56

67
sudo: false
78

89
env:
9-
- TOX_ENV=py27-django18
10-
- TOX_ENV=py27-django19
11-
- TOX_ENV=py27-django110
12-
- TOX_ENV=py27-djangomaster
10+
- TOX_ENV=django18
11+
- TOX_ENV=django19
12+
- TOX_ENV=django110
13+
- TOX_ENV=djangomaster
1314

1415
matrix:
1516
fast_finish: true
1617
allow_failures:
17-
- env: TOX_ENV=py27-djangomaster
18+
- env: TOX_ENV=djangomaster
1819

1920
addons:
2021
apt:
2122
packages:
2223
- xmlsec1
2324

2425
install:
25-
- pip install tox virtualenv
26+
- pip install --upgrade pip setuptools tox virtualenv
2627

2728
script:
2829
- tox -e $TOX_ENV
2930

3031
after_success:
3132
- pip install codecov
32-
- codecov -e TOX_ENV
33+
- codecov -e TOX_ENV,TRAVIS_PYTHON_VERSION
3334

3435
notifications:
3536
email: false

tox.ini

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
[tox]
2-
envlist = py27-django18, py27-django19, py27-django110, py27-djangomaster
2+
envlist = py{27,35}-django{18,19,110,master}
33

44
[testenv]
5-
basepython = python2.7
6-
75
commands =
86
python tests/run_tests.py
97

108
deps =
11-
django18: Django==1.8.15
12-
django19: Django==1.9.10
13-
django110: Django==1.10.2
9+
django18: Django~=1.8.15
10+
django19: Django~=1.9.10
11+
django110: Django~=1.10.2
1412
djangomaster: https://github.com/django/django/archive/master.tar.gz

0 commit comments

Comments
 (0)