forked from habnabit/passacre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (45 loc) · 955 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
40
41
42
43
44
45
46
47
48
49
[tox]
envlist =
py26,
py27,
py32,
py33,
py34,
gcovr,
coveralls,
cpp-coveralls,
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
pyyaml
coverage
pytest
gcovr: gcovr
commands =
coverage run --source {envsitepackagesdir}/passacre -m pytest {posargs} {envsitepackagesdir}/passacre
coverage html -d htmlcov-{envname}
[testenv:gcovr]
basepython = python
usedevelop = True
setenv =
CFLAGS = --coverage -O0
whitelist_externals = mkdir
commands =
python setup.py clean --all build_ext --inplace
py.test {posargs} passacre
mkdir -p gcovr
gcovr -r . --html --html-details -o gcovr/index.html -e 'CMake.*'
[testenv:coveralls]
basepython = python
skip_install = True
deps =
coveralls
commands =
coveralls
[testenv:cpp-coveralls]
basepython = python
skip_install = True
deps =
cpp-coveralls
commands =
coveralls --build-root . --include libpassacre/passacre.c