-
Notifications
You must be signed in to change notification settings - Fork 17
/
tox.ini
30 lines (25 loc) · 922 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
[tox]
envlist = py27, py34, py35, py36, lint, ghpages, docs
skip_missing_interpreters = true
[travis]
python =
3.6: py36, lint, ghpages
[testenv]
deps=-r{toxinidir}/tests/requirements.txt
commands=py.test --cov={envsitepackagesdir}/audiotsm tests/unit
py.test tests/integration
[testenv:lint]
deps=-r{toxinidir}/tests/requirements-lint.txt
commands=pylint --rcfile=tests/pylintrc audiotsm
find examples tests -name "*.py" -exec pylint --rcfile=tests/pylintrc \{\} +
pycodestyle .
check-manifest
whitelist_externals=find
[testenv:ghpages]
deps=-r{toxinidir}/tests/requirements.txt
-r{toxinidir}/docs/ghpages/requirements.txt
commands=py.test --data-all --data-save tests/integration
python docs/ghpages/generate.py
[testenv:docs]
deps=-r{toxinidir}/docs/sphinx/requirements.txt
commands=python -msphinx -b html -d build/sphinx/doctrees docs/sphinx build/sphinx/html