-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
62 lines (54 loc) · 1.18 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
54
55
56
57
58
59
60
61
62
[tox]
envlist = {py26,py27,py33,py34,py35,pypy}-{test}-{deps,mindeps}
[testenv]
deps =
deps: numpy>=1.7
deps: cython>=0.19
mindeps: numpy==1.7
mindeps: cython==0.19
commands =
test: python {toxinidir}/ci/fix_paths.py {envsitepackagesdir}
test: python -c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)"
changedir =
test: {toxworkdir}
passenv =
HDF5_DIR
TOXPYTHON
basepython =
pypy: {env:TOXPYTHON:pypy}
py26: {env:TOXPYTHON:python2.6}
py27: {env:TOXPYTHON:python2.7}
py33: {env:TOXPYTHON:python3.3}
py34: {env:TOXPYTHON:python3.4}
py35: {env:TOXPYTHON:python3.5}
[testenv:py26-test-deps]
deps =
unittest2
numpy>=1.7,<1.11
cython>=0.19
[testenv:py33-test-deps]
deps =
numpy>=1.7,<1.12
cython>=0.19
[testenv:py26-test-mindeps]
deps =
unittest2
numpy==1.7
cython==0.19
[testenv:py33-test-mindeps]
deps =
numpy==1.7
cython==0.19
[testenv:py34-test-mindeps]
deps =
numpy==1.9
cython==0.19
[testenv:py35-test-mindeps]
deps =
numpy==1.10.0.post2
cython==0.19
[testenv:py34-test-mpi4py]
deps =
numpy==1.9
cython==0.19
mpi4py>=1.3.1