forked from ursgal/ursgal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (33 loc) · 768 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
[tox]
envlist=py35,py36,py37,coverage,docu,example_scripts
[testenv]
deps =
-Ur{toxinidir}/requirements.txt
commands =
nosetests
[testenv:docu]
deps =
-Ur{toxinidir}/docs/requirements.txt
changedir = {toxinidir}/docs
commands =
sphinx-build source build
[testenv:coverage]
passenv =
CI TRAVIS TRAVIS_*
deps =
numpy
commands =
pip install -e .
pip install -q -r {toxinidir}/requirements.txt
coverage erase
coverage run {envbindir}/nosetests
coverage report --include=ursgal/* --omit=test/
codecov
[testenv:example_scripts]
deps =
-Ur{toxinidir}/requirements.txt
changedir = {toxinidir}/example_scripts
commands =
# selected example_scripts here
python filter_csv_validation_example.py
python filter_csv_for_mods_example.py