Skip to content

Commit e863a59

Browse files
committed
[travis] Fixed InterpreterNotFound Travis error
1 parent d0b5abb commit e863a59

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.travis.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
dist: trusty
2-
sudo: false
2+
sudo: true
33

44
language: python
5+
python:
6+
- 2.7
7+
- 3.6
58

69
install:
710
- pip install tox
811
- pip install coveralls
912
#- pip install python-coveralls
1013

11-
script:
12-
- tox
13-
1414
env:
15-
- TOXENV=django17-py27
16-
- TOXENV=django17-py33
17-
- TOXENV=django18-py27
18-
- TOXENV=django18-py34
19-
- TOXENV=django19-py27
20-
- TOXENV=django19-py35
21-
- TOXENV=django110-py27
22-
- TOXENV=django110-py35
23-
- TOXENV=django111-py27
24-
- TOXENV=django111-py36
25-
- TOXENV=django20-py36
15+
- DJANGO=django18
16+
- DJANGO=django19
17+
- DJANGO=django110
18+
- DJANGO=django111
19+
- DJANGO=django20
20+
21+
script:
22+
- tox -e $DJANGO-py${TRAVIS_PYTHON_VERSION//[.]/}
2623

2724
after_success:
2825
- coveralls

0 commit comments

Comments
 (0)