summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 1a7e268708cd266fdba23396149b53520e363860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tox]
envlist = py27,py33,py34,py35,py36,py36-winpy37,pypy

[pytest]
testpaths = tests

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
setenv =
    PYTHONPATH={toxinidir}

[testenv:py27]
deps =
  codecov
  mock
  pyparsing
  pyperclip
  pytest
  pytest-cov
  pytest-xdist
  six
commands =
  py.test {posargs: -n 2} --cov=cmd2 --cov-report=term-missing
  codecov

[testenv:py33]
deps =
  mock
  pyparsing
  pyperclip
  pytest
  pytest-xdist
  six
commands = py.test -v -n2

[testenv:py34]
deps =
  mock
  pyparsing
  pyperclip
  pytest
  pytest-xdist
  six
commands = py.test -v -n2

[testenv:py35]
deps =
  mock
  pyparsing
  pyperclip
  pytest
  pytest-xdist
  six
commands = py.test -v -n2

[testenv:py36]
deps =
  codecov
  mock
  pyparsing
  pyperclip
  pytest
  pytest-cov
  pytest-xdist
  six
commands =
  py.test {posargs: -n 2} --cov=cmd2 --cov-report=term-missing
  codecov

[testenv:py36-win]
deps =
  mock
  pyparsing
  pyperclip
  pytest
  pytest-xdist
  six
commands = py.test -v -n2

[testenv:py37]
deps =
  mock
  pyparsing
  pyperclip
  pytest
  pytest-xdist
  six
commands = py.test -v -n2