1
1
[tox]
2
2
envlist =
3
- py{36,35}-pytest{31,30,29,28,27}
4
- py{34,33,27,26}-pytest{31,30,29,28,27,26}
5
- pypy-pytest{31,30,29,28,27,26}
3
+ py{27,34,35,36,37}
6
4
7
5
8
6
[pytest]
@@ -16,27 +14,19 @@ pep8maxlinelength = 119
16
14
usedevelop = True
17
15
deps =
18
16
-rrequirements/main.txt
19
- -rrequirements/test.txt
20
- pytest26: pytest>=2.6,<2.7
21
- pytest27: pytest>=2.7,<2.8
22
- pytest28: pytest>=2.8,<2.9
23
- pytest29: pytest>=2.9,<3.0
24
- pytest30: pytest>=3.0,<3.1
25
- pytest31: pytest>=3.1,<3.2
26
- pytest26: pytest-xdist<1.16.0
27
- pytest{31,30,29,28,27}: pytest-xdist
17
+ -rrequirements/test.txt
28
18
29
19
passenv = HOME LANG LC_ALL
30
20
31
21
commands =
32
- py.test -q --basetemp ={envtmpdir} --confcutdir =.. -n 1 \
22
+ pytest -q --basetemp ={envtmpdir} --confcutdir =tests \
33
23
--junitxml =tests/junit.xml \
34
24
--cov-report xml --cov pytest_flask \
35
25
--cov-report =html \
36
26
--cov-report term-missing \
37
27
--pep8 \
38
- -n 2 \
39
- {posargs}
28
+ -ra \
29
+ {posargs:tests }
40
30
41
31
42
32
[testenv:docs]
@@ -48,12 +38,3 @@ commands =
48
38
49
39
whitelist_externals =
50
40
/usr/bin/make
51
-
52
-
53
- [tox:travis]
54
- 2.6 = py26-pytest{31,30,29,28,27,26}
55
- 2.7 = py27-pytest{31,30,29,28,27,26}
56
- 3.3 = py33-pytest{31,30,29,28,27,26}
57
- 3.4 = py34-pytest{31,30,29,28,27,26}
58
- 3.5 = py35-pytest{31,30,29,28,27}
59
- 3.6 = py36-pytest{31,30,29,28,27}
0 commit comments