d1fb9b350923fc475c10a40995f968708eb706ef
[librarian.git] / tox.ini
1 [tox]
2 envlist =
3     clean,
4     py{27,35,36,37,38},
5     stats
6
7 [testenv]
8 deps =
9     nose
10     coverage
11 passenv = HOME  ; Needed to find locally installed fonts when testing PDF production.
12 download = true
13 commands =
14     nosetests --with-coverage --cover-package=librarian -d --with-doctest --with-xunit --exe
15 install_command = pip install numpy; pip install --extra-index-url https://py.mdrn.pl/simple {packages}
16
17 [testenv:clean]
18 basepython = python3
19 commands =
20     coverage erase
21 deps = coverage
22
23 [testenv:stats]
24 basepython = python3
25 commands =
26     coverage report
27     coverage html
28 deps = coverage
29