-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
75 lines (72 loc) · 1.63 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
63
64
65
66
67
68
69
70
71
72
73
74
75
[tox]
envlist =
py{27,32,33,34,35}-numpy11,
py{27,34,35,36}-numpy{12,13,14,15,16},
py{35,36,37}-numpy17,
py37-numpy{15,16},
[testenv]
setenv =
COVERAGE_FILE=.coverage.{envname}
passenv = COVERAGE_*
deps =
numpy11: numpy==1.11.*
numpy12: numpy==1.12.*
numpy13: numpy==1.13.*
numpy14: numpy==1.14.*
numpy15: numpy==1.15.*
nympy16: numpy==1.16.*
numpy17: numpy==1.17.*
.[test]
usedevelop = True
commands = make test
whitelist_externals = make
[testenv:py32-numpy11]
# Same story as above
basepython = python3.2
setenv =
VIRTUALENV_NO_DOWNLOAD=1
VIRTUALENV_NO_PIP=1
VIRTUALENV_NO_WHEEL=1
VIRTUALENV_NO_SETUPTOOLS=1
COVERAGE_FILE=.coverage.{envname}
passenv = COVERAGE_*
whitelist_externals =
echo
curl
pip
make
deps =
list_dependencies_command = echo
skip_install = true
commands =
curl https://bootstrap.pypa.io/3.2/get-pip.py -o {envdir}/get-pip32.py
python {envdir}/get-pip32.py
pip install "numpy==1.11.*"
pip install "pillow==3.4.*"
pip install -e .[test]
make test
[testenv:py33-numpy11]
# Same story as above
basepython = python3.3
setenv =
VIRTUALENV_NO_DOWNLOAD=1
VIRTUALENV_NO_PIP=1
VIRTUALENV_NO_WHEEL=1
VIRTUALENV_NO_SETUPTOOLS=1
COVERAGE_FILE=.coverage.{envname}
passenv = COVERAGE_*
whitelist_externals =
echo
curl
pip
make
deps =
list_dependencies_command = echo
skip_install = true
commands =
curl https://bootstrap.pypa.io/3.3/get-pip.py -o {envdir}/get-pip33.py
python {envdir}/get-pip33.py
pip install "numpy==1.11.*"
pip install "pillow==4.3.*"
pip install -e .[test]
make test