forked from LiberTEM/LiberTEM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (41 loc) · 728 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
[tox]
envlist = py{36}
[testenv]
commands=
pytest --cov=libertem --cov-report=term --cov-report=html --cov-report=xml {posargs:tests/}
deps=
-rrequirements.txt
[testenv:flake8]
changedir={toxinidir}
deps=
flake8
commands=
flake8 src/
[testenv:docs]
changedir={toxinidir}
basepython=python3.6
whitelist_externals=
make
setenv=
PYTHONPATH={toxinidir}
commands=
make -C {toxinidir}/docs {posargs:livehtml}
deps=
sphinx
sphinx-autobuild
skipsdist=True
[testenv:docs-deploy]
changedir={toxinidir}
basepython=python3.6
setenv=
PYTHONPATH={toxinidir}
commands=
travis-sphinx build
travis-sphinx deploy
deps=
sphinx
travis-sphinx
skipsdist=True
passenv=
GH_*
TRAVIS_*