48
48
- secure : RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
49
49
- secure : E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
50
50
- secure : dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU=
51
- # Variables controlling Python dependencies.
52
- - CYCLER=cycler
53
- - DATEUTIL=python-dateutil
54
- - NOSE=
55
- - NUMPY=numpy
56
- - PANDAS=
57
- - JUPYTER=
58
- - PYPARSING=pyparsing
59
- # pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.4 is
60
- # still supported; this is tested by the first matrix entry.
61
- - PYTEST='pytest>=3.6'
62
- - PYTEST_COV=pytest-cov
63
- - PYTEST_PEP8=
64
- - PYTEST_TIMEOUT=pytest-timeout
65
- - SPHINX=sphinx
66
51
# Variables controlling the build.
67
52
- MPLLOCALFREETYPE=1
53
+ # Variable for the location of an extra pip requirement file
54
+ - EXTRAREQS=
55
+ # Variable for the location of a pip version file
56
+ - PINNEDVERS=
68
57
# Variables controlling the test run.
69
58
- DELETE_FONT_CACHE=
70
59
- NO_AT_BRIDGE=1 # Necessary for GTK3 interactive test.
@@ -82,26 +71,15 @@ matrix:
82
71
- python : 3.5
83
72
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
84
73
env :
85
- - CYCLER=cycler==0.10
86
- - DATEUTIL=python-dateutil==2.1
87
- - NOSE=nose
88
- - NUMPY=numpy==1.10.0
89
- - PANDAS='pandas<0.21.0'
90
- - PYPARSING=pyparsing==2.0.1
91
- - PYTEST=pytest==3.4
92
- - PYTEST_COV=pytest-cov==2.3.1
93
- - PYTEST_TIMEOUT=pytest-timeout==1.2.1 # Newer pytest-timeouts don't support pytest 3.4.
94
- - SPHINX=sphinx==1.3
74
+ - PINNEDVERS='-c requirements/testing/travis35.txt'
95
75
- python : 3.5
96
76
env :
97
77
# - PYTHONOPTIMIZE=2 # This currently doesn't work.
98
78
- python : 3.6
99
79
env :
100
80
- DELETE_FONT_CACHE=1
101
- - PANDAS='pandas<0.21.0'
102
- - JUPYTER='jupyter'
103
- - PYTEST_PEP8=pytest-pep8
104
81
- PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8"
82
+ - EXTRAREQS='-r requirements/testing/travis36.txt'
105
83
- python : " nightly"
106
84
env : PRE=--pre
107
85
- os : osx
@@ -145,19 +123,7 @@ install:
145
123
python -mpip install --upgrade pip setuptools wheel
146
124
- |
147
125
# Install dependencies from PyPI.
148
- python -mpip install --upgrade $PRE \
149
- codecov \
150
- coverage \
151
- $CYCLER \
152
- $DATEUTIL \
153
- $NOSE \
154
- $NUMPY \
155
- $PANDAS \
156
- $JUPYTER \
157
- pillow \
158
- $PYPARSING \
159
- $SPHINX \
160
- tornado
126
+ python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS
161
127
# GUI toolkits are pip-installable only for some versions of Python so
162
128
# don't fail if we can't install them. Make it easier to check whether the
163
129
# install was successful by trying to import the toolkit (sometimes, the
@@ -178,14 +144,6 @@ install:
178
144
echo 'wxPython is available' ||
179
145
echo 'wxPython is not available'
180
146
181
- python -mpip install $PRE \
182
- $PYTEST \
183
- $PYTEST_COV \
184
- pytest-faulthandler \
185
- $PYTEST_PEP8 \
186
- pytest-rerunfailures \
187
- $PYTEST_TIMEOUT \
188
- pytest-xdist
189
147
- |
190
148
# Install matplotlib
191
149
python -mpip install -ve .
0 commit comments