forked from release-engineering/cloudimg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (34 loc) · 804 Bytes
/
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
[tox]
envlist = py26,py27,py34,py35,py36,py37,lint,py38
[testenv]
deps = -rrequirements-test.txt
commands = py.test -v {posargs}
[testenv:py27]
# In general, most test envs are allowed to use latest
# installable versions of deps from PyPI.
# Here we ensure there is at least one test env covering
# the oldest versions of certain dependencies we want to
# support.
deps =
-rrequirements-test.txt
-cconstraints-legacy.txt
[testenv:lint]
skip_install = true
commands = flake8 cloudimg/ tests/
[testenv:cov-travis]
passenv = TRAVIS TRAVIS_*
deps=
-rrequirements-test.txt
pytest-cov
coveralls
usedevelop=true
commands=
pytest --cov=cloudimg {posargs}
coveralls
[testenv:cov]
deps=
-rrequirements-test.txt
pytest-cov
usedevelop=true
commands=
pytest --cov-report=html --cov=cloudimg {posargs}