forked from uqfoundation/multiprocess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (32 loc) · 1.6 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
[tox]
skipdist=True
skip_missing_interpreters=
True
envlist =
py26
py27
py33
py34
py35
py36
# pypy
# pypy3
[testenv]
setenv =
# recreate = True
deps =
# dill
whitelist_externals =
bash
commands =
{envpython} setup.py build_ext
{envpython} setup.py build
{envpython} setup.py install
py26: bash -c "failed=0; for test in py2.6/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
py27: bash -c "failed=0; for test in py2.7/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
py33: bash -c "failed=0; for test in py3.3/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
py34: bash -c "failed=0; for test in py3.4/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
py35: bash -c "failed=0; for test in py3.5/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
py36: bash -c "failed=0; for test in py3.6/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
# pypy: bash -c "failed=0; for test in pypy/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"
# pypy3: bash -c "failed=0; for test in pypy3/tests/*.py; do if [[ $test != *"main"* ]]; then echo $test ; {envpython} $test || failed=1; fi; done; exit $failed"