-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
tox.ini
63 lines (58 loc) · 1.04 KB
/
tox.ini
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
[tox]
envlist =
py35
py36
py37
coverage
[testenv]
passenv = TRAVIS TRAVIS_*
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
deps =
coverage
coveralls
commands =
coverage run --source=tests,algorithms -m unittest discover tests
coverage report -m
coveralls
[testenv:py35]
passenv = CI TRAVIS TRAVIS_*
basepython =
python3.5
deps =
pytest
commands =
python3 -m unittest discover tests
python3 -m pytest tests
[testenv:py36]
passenv = CI TRAVIS TRAVIS_*
basepython =
python3.6
deps =
pytest
commands =
python3 -m unittest discover tests
python3 -m pytest tests
[testenv:py37]
passenv = CI TRAVIS TRAVIS_*
basepython =
python3.7
deps =
pytest
commands =
python3 -m unittest discover tests
python3 -m pytest tests
[testenv:coverage]
passenv = CI TRAVIS TRAVIS_*
skip_install = True
basepython =
python3.7
commands =
coverage run --source=tests,algorithms -m unittest discover tests
coverage report -m
coveralls
deps =
coverage
coveralls