-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
42 lines (42 loc) · 1.28 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
[tox]
envlist=py27,pypy,docs
[testenv]
deps=pytest-cov
pytest-xdist
commands=
pip install --ignore-installed pytest
py.test -v \
--cov zasim --cov-report xml \
--doctest-modules \
--ignore=docs/vision.py \
--ignore=setup.py \
--ignore=zasim/examples/notebooks/notebook_app.py \
--ignore=zasim/examples/dualrule/main.py \
--junitxml=junit-{envname}.xml
sitepackages=true
[testenv:pypy]
deps=pytest-cov
pytest-xdist
commands=
pip install --ignore-installed pytest
py.test -v \
-n 2 \
--cov zasim --cov-report xml \
--doctest-modules \
--ignore=docs/vision.py \
--ignore=setup.py \
--ignore=zasim/cagen/jvn.py \
--ignore=zasim/gui \
--ignore=zasim/display/qt.py \
--ignore=zasim/external/qt.py \
--ignore=zasim/examples/ \
--junitxml=junit-{envname}.xml
[testenv:docs]
basepython=python
deps=sphinx
sphinxcontrib-programoutput
sphinxcontrib-proceduralimage
changedir=docs
commands=sphinx-build -b doctest -d _build/doctrees . _build/doctest
sphinx-build -b html -d _build/doctrees . _build/html
#sphinx-build -b linkcheck -d _build/doctrees . _build/linkcheck