forked from keon/algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
64 lines (59 loc) · 1.06 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
64
[tox]
envlist =
py34
py35
py36
coverage
[testenv]
passenv = TRAVIS TRAVIS_*
basepython =
py34: python3.4
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:py34]
passenv = CI TRAVIS TRAVIS_*
basepython =
python3.4
deps =
pytest
commands =
python3 -m unittest discover tests
python3 -m pytest tests
[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.4
deps =
pytest
commands =
python3 -m unittest discover tests
python3 -m pytest tests
[testenv:coverage]
passenv = CI TRAVIS TRAVIS_*
skip_install = True
basepython =
python3.5
commands =
coverage run --source=tests,algorithms -m unittest discover tests
coverage report -m
coveralls
deps =
coverage
coveralls