forked from release-engineering/alt-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (29 loc) · 619 Bytes
/
Copy pathtox.ini
File metadata and controls
33 lines (29 loc) · 619 Bytes
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
[tox]
envlist = py27, py36
[testenv]
deps =
-rrequirements.txt
-rtest-requirements.txt
commands = pytest {posargs}
whitelist_externals = sh
[testenv:cov]
basepython = python2.7
commands = pytest --cov-report=html --cov=alt_src {posargs}
[testenv:cov-travis]
passenv = TRAVIS TRAVIS_*
basepython = python2.7
setenv =
# Use older version of rpm-python to ensure backwards-compatibility
RPM_PY_VERSION = 4.10.0
deps =
-rrequirements.txt
-rtest-requirements.txt
-clegacy.constraints
coveralls
usedevelop = true
commands =
pytest --cov=alt_src {posargs}
coveralls
[pytest]
testpaths = tests
addopts = -v