Skip to content

Commit 5efed90

Browse files
committed
tox.ini: re-write file, include unit tests for all supported versions of python
- enable more python3 versions on travis for unit testing
1 parent 508c8d3 commit 5efed90

File tree

2 files changed

+19
-38
lines changed

2 files changed

+19
-38
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ sudo: false
22
language: python
33
python:
44
- 2.7
5+
- 3.3
6+
- 3.4
57
- 3.5
8+
- 3.6
69
os:
710
- linux
811

tox.ini

Lines changed: 16 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
[tox]
2-
#envlist = py35-lint,py34-lint,py33-lint,py27-lint,py35-unit,py34-unit,py33-unit,py27-unit
3-
envlist = py27-lint, py27-unit, py35-mypy, py27-pipconflictchecker, py35-unit
2+
envlist =
3+
# py{27,33,34,35.36}-lint,
4+
py27-lint
5+
py{27,33,34,35,36}-unit,
6+
py35-mypy,
7+
py27-pipconflictchecker
8+
49
skipsdist = True
10+
skip_missing_interpreters = True
511

612
[tox:travis]
713
2.7 = py27
8-
3.5 = py35-mypy, py35-unit
14+
3.3 = py33-unit
15+
3.4 = py34-unit
16+
3.5 = py35
17+
3.6 = py36-unit
918

1019
[testenv]
1120
deps = -rrequirements.txt
21+
# py{27,33,34,35,36}-lint: flake8
1222

13-
[testenv:py35-py2_mypy]
14-
commands = make mypy
15-
whitelist_externals = make
16-
deps =
17-
-rmypy_requirements.txt
18-
-rrequirements.txt
23+
commands =
24+
py{27,33,34,35,36}-unit: python setup.py test
1925

2026
[testenv:py35-mypy]
2127
commands = make mypy
@@ -24,21 +30,6 @@ deps =
2430
-rmypy_requirements.txt
2531
-rrequirements.txt
2632

27-
[testenv:py35-lint]
28-
commands = flake8 schema_salad setup.py
29-
whitelist_externals = flake8
30-
deps = flake8
31-
32-
[testenv:py34-lint]
33-
commands = flake8 schema_salad setup.py
34-
whitelist_externals = flake8
35-
deps = flake8
36-
37-
[testenv:py33-lint]
38-
commands = flake8 schema_salad setup.py
39-
whitelist_externals = flake8
40-
deps = flake8
41-
4233
[testenv:py27-lint]
4334
commands = flake8 schema_salad setup.py
4435
whitelist_externals = flake8
@@ -47,17 +38,4 @@ deps = flake8
4738
[testenv:py27-pipconflictchecker]
4839
commands = pipconflictchecker
4940
whitelist_externals = pipconflictchecker
50-
deps = pip-conflict-checker
51-
52-
53-
[testenv:py35-unit]
54-
commands = python setup.py test
55-
56-
[testenv:py34-unit]
57-
commands = python setup.py test
58-
59-
[testenv:py33-unit]
60-
commands = python setup.py test
61-
62-
[testenv:py27-unit]
63-
commands = python setup.py test
41+
deps = pip-conflict-checker

0 commit comments

Comments
 (0)