forked from rsgier/UFalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
57 lines (42 loc) · 1.05 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
envlist = py36
[testenv]
deps =
pip>=9.0.0
setuptools>=34.0.0
numpy
Cython
basepython = python3.6
setenv =
PYTHONPATH = {toxinidir}
PYTHONDONTWRITEBYTECODE = 1
install_command = python -m pip install --no-cache-dir {opts} {packages}
commands =
pip install -U pip setuptools
pip install -r requirements_dev.txt --no-cache-dir
pytest --basetemp={envtmpdir} --cov-report term --cov-report html --cov UFalcon tests
[testenv:style]
deps =
flake8
basepython =
python3.6
skipsdist = True
skip_install = True
commands =
flake8 --max-line-length=88 tests UFalcon
[testenv:docs]
basepython =
python3.6
whitelist_externals =
rm
mv
make
install_command = python -m pip install --no-cache-dir {opts} {packages}
commands =
pip install -U pip setuptools
pip install -r requirements_dev.txt --no-cache-dir
sphinx-build -b linkcheck docs/ docs/_build/ # checks external links
make -C docs clean
make -C docs html
- rm -fr docs/_build/html/htmlcov
- mv htmlcov docs/_build/html