Skip to content

Commit caa854a

Browse files
committed
tweak travis/tox config
1 parent b0c357b commit caa854a

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.travis.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1+
sudo: false
12
language: python
2-
python: 2.7
3+
python:
4+
- 2.7
5+
- 3.5
36
os:
47
- linux
5-
env:
6-
- TOX_ENV=py27-lint
7-
- TOX_ENV=py27-unit
8-
- TOX_ENV=py35-mypy
9-
# - TOX_ENV=py34-lint
10-
# - TOX_ENV=py33-lint
11-
# - TOX_ENV=py34-unit
12-
# - TOX_ENV=py33-unit
138

149
install:
15-
- pip install tox
16-
17-
script: tox -e $TOX_ENV
18-
10+
- pip install tox-travis
11+
script: tox
1912
notifications:
2013
email: false

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
envlist = py27-lint, py27-unit, py35-mypy
44
skipsdist = True
55

6+
[tox:travis]
7+
2.7 = py27
8+
3.5 = py35-mypy
9+
610
[testenv]
711
deps = -rrequirements.txt
812

0 commit comments

Comments
 (0)