-
Notifications
You must be signed in to change notification settings - Fork 141
/
tox.ini
26 lines (23 loc) · 923 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py34, py35, py36, py37, pypy3
[testenv]
deps =-rrequirements/develop.txt
commands =
# {envbindir}/pydocstyle -s -e pyknow
{envbindir}/pycodestyle --show-source --show-pep8 pyknow
{envbindir}/coverage erase
{envbindir}/coverage run -p --branch {envbindir}/py.test -m 'not wip' -v tests/unit
{envbindir}/coverage combine
{envbindir}/coverage report
{envbindir}/coverage html
[testenv:wip]
deps =-rrequirements/develop.txt
usedevelop = True
commands =
# {envbindir}/pydocstyle -e pyknow
{envbindir}/pycodestyle --show-source --show-pep8 pyknow
{envbindir}/coverage run -p --branch {envbindir}/py.test -m 'wip' -v tests/unit