Skip to content

Commit 7dd5db1

Browse files
authored
Merge pull request #166 from python-cmd2/speedup_tests
Speedup tests
2 parents 29578be + a89b392 commit 7dd5db1

File tree

3 files changed

+71
-7
lines changed

3 files changed

+71
-7
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ install:
44
build: off
55

66
test_script:
7-
- python -m tox -e py27,py34,py35,py36
7+
- python -m tox -e py27,py35,py36-win

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ matrix:
1919
- os: linux
2020
python: 3.6
2121
env: TOXENV=py36
22-
- os: linux
23-
python: 3.7-dev
24-
env: TOXENV=py37
22+
# - os: linux
23+
# python: 3.7-dev
24+
# env: TOXENV=py37
2525
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
2626
# - os: linux
2727
# python: pypy

tox.ini

Lines changed: 67 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[tox]
2-
envlist = py27,py34,py35,py36,jython,pypy
2+
envlist = py27,py33,py34,py35,py36,py36-winpy37,pypy
33

44
[testenv]
55
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
6+
7+
[testenv:py27]
68
deps =
79
codecov
810
mock
@@ -11,8 +13,70 @@ deps =
1113
pytest
1214
pytest-cov
1315
six
14-
commands=
16+
commands =
1517
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
16-
{envpython} examples/example.py --test examples/exampleSession.txt
1718
codecov
1819

20+
[testenv:py33]
21+
deps =
22+
mock
23+
pyparsing
24+
pyperclip
25+
pytest
26+
pytest-xdist
27+
six
28+
commands = py.test -v -n2
29+
30+
[testenv:py34]
31+
deps =
32+
mock
33+
pyparsing
34+
pyperclip
35+
pytest
36+
pytest-xdist
37+
six
38+
commands = py.test -v -n2
39+
40+
[testenv:py35]
41+
deps =
42+
mock
43+
pyparsing
44+
pyperclip
45+
pytest
46+
pytest-xdist
47+
six
48+
commands = py.test -v -n2
49+
50+
[testenv:py36]
51+
deps =
52+
codecov
53+
mock
54+
pyparsing
55+
pyperclip
56+
pytest
57+
pytest-cov
58+
six
59+
commands =
60+
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
61+
codecov
62+
63+
[testenv:py36-win]
64+
deps =
65+
mock
66+
pyparsing
67+
pyperclip
68+
pytest
69+
pytest-xdist
70+
six
71+
commands = py.test -v -n2
72+
73+
[testenv:py37]
74+
deps =
75+
mock
76+
pyparsing
77+
pyperclip
78+
pytest
79+
pytest-xdist
80+
six
81+
commands = py.test -v -n2
82+

0 commit comments

Comments
 (0)