4848 - secure : RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
4949 - secure : E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
5050 - 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
6651 # Variables controlling the build.
6752 - 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=
6857 # Variables controlling the test run.
6958 - DELETE_FONT_CACHE=
7059 - NO_AT_BRIDGE=1 # Necessary for GTK3 interactive test.
@@ -82,26 +71,15 @@ matrix:
8271 - python : 3.5
8372 # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
8473 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'
9575 - python : 3.5
9676 env :
9777 # - PYTHONOPTIMIZE=2 # This currently doesn't work.
9878 - python : 3.6
9979 env :
10080 - DELETE_FONT_CACHE=1
101- - PANDAS='pandas<0.21.0'
102- - JUPYTER='jupyter'
103- - PYTEST_PEP8=pytest-pep8
10481 - PYTEST_ADDOPTS="$PYTEST_ADDOPTS --pep8"
82+ - EXTRAREQS='-r requirements/testing/travis36.txt'
10583 - python : " nightly"
10684 env : PRE=--pre
10785 - os : osx
@@ -145,19 +123,7 @@ install:
145123 python -mpip install --upgrade pip setuptools wheel
146124 - |
147125 # 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
161127 # GUI toolkits are pip-installable only for some versions of Python so
162128 # don't fail if we can't install them. Make it easier to check whether the
163129 # install was successful by trying to import the toolkit (sometimes, the
@@ -178,14 +144,6 @@ install:
178144 echo 'wxPython is available' ||
179145 echo 'wxPython is not available'
180146
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
189147 - |
190148 # Install matplotlib
191149 python -mpip install -ve .
0 commit comments