forked from lambdalisue/tolerance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (45 loc) · 1.26 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
[tox]
envlist = py26,py27,py32,py33,py34,docs
[testenv]
deps=
-rrequirements-test.txt
coverage
commands=
{envbindir}/coverage run --source=src/tolerance {envbindir}/nosetests []
whitelist_externals=
2to3
make
cp
mkdir
[testenv:py26]
basepython=python2.6
[testenv:py27]
basepython=python2.7
[testenv:py32]
basepython=python3.2
commands=
2to3 --output-dir={envtmpdir}/build/tests -W -n -d README.rst
2to3 --output-dir={envtmpdir}/build/tests -W -n src
2to3 --output-dir={envtmpdir}/build/tests/tests -W -n tests
nosetests --py3where={envtmpdir}/build/tests []
[testenv:py33]
basepython=python3.3
commands=
2to3 --output-dir={envtmpdir}/build/tests -W -n -d README.rst
2to3 --output-dir={envtmpdir}/build/tests -W -n src
2to3 --output-dir={envtmpdir}/build/tests/tests -W -n tests
nosetests --py3where={envtmpdir}/build/tests []
[testenv:py34]
basepython=python3.4
commands=
2to3 --output-dir={envtmpdir}/build/tests -W -n -d README.rst
2to3 --output-dir={envtmpdir}/build/tests -W -n src
2to3 --output-dir={envtmpdir}/build/tests/tests -W -n tests
nosetests --py3where={envtmpdir}/build/tests []
[testenv:docs]
basepython=python
changedir=docs
deps=-rrequirements-docs.txt
commands=
make clean
make html