-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
53 lines (47 loc) · 1.16 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
[tox]
envlist=test-{py27,pypy,py33,py34,py35,py36}
skipsdist=True
requires=
virtualenv>=20
[tox:travis]
3.6 = py36, coveralls, pyflakes
3.7-dev = test-py37
nightly = test-py37
pypy3.3-5.2-alpha1 = test-pypy3
[testenv]
usedevelop=True
deps=
unittest2
repeated_test
python-dateutil
Pygments
docs: sphinx
docs: sphinx_rtd_theme
cover: coverage
coveralls: coverage<5.0
coveralls: coveralls
commands=
test: {posargs:{envbindir}/unit2}
cover: coverage erase
cover-all: -coverage run {posargs:-m unittest2}
cover-util: -coverage run -m unittest2 clize.tests.test_util
cover-help: -coverage run -m unittest2 clize.tests.test_help
cover: coverage html
cover-all: coverage report
cover-util: coverage report --include 'clize/util.py'
cover-help: coverage report --include 'clize/help.py'
docs: {envbindir}/sphinx-build {toxinidir}/docs/ {toxinidir}/build/sphinx {posargs:}
[testenv:test-pypy]
download=true
setenv=
VIRTUALENV_PIP=19
[testenv:coveralls]
passenv=TRAVIS TRAVIS_*
commands=
coverage run --source clize -m unittest2
coveralls
[testenv:pyflakes]
deps=
pyflakes
commands=
pyflakes clize