Skip to content

Commit 0f44009

Browse files
committed
Test oldest versions of all deps.
1 parent c147c42 commit 0f44009

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

.travis.yml

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,19 @@ env:
3636
- secure: RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
3737
- secure: E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
3838
- secure: "dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU="
39+
- CYCLER=cycler
40+
- DATEUTIL=python-dateutil
3941
- MOCK=
4042
- NOSE=
4143
- NUMPY=numpy
4244
- PANDAS=
45+
- PYPARSING=pyparsing
4346
- PYTEST=pytest
4447
- PYTEST_COV=pytest-cov
48+
- PYTEST_PEP8=
49+
- SPHINX=sphinx
4550
- OPENBLAS_NUM_THREADS=1
4651
- NPROC=2
47-
- INSTALL_PEP8=
4852
- RUN_PEP8=
4953
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
5054
- PYTHON_ARGS=
@@ -54,11 +58,21 @@ matrix:
5458
include:
5559
- python: 2.7
5660
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
57-
env: MOCK=mock NOSE=nose NUMPY=numpy==1.7.1 PANDAS=pandas PYTEST=pytest==3.0.0 PYTEST_COV=pytest-cov==2.3.1
61+
env:
62+
- CYCLER=cycler==0.10
63+
- DATEUTIL=python-dateutil==2.0
64+
- MOCK=mock
65+
- NOSE=nose
66+
- NUMPY=numpy==1.7.1
67+
- PANDAS=pandas
68+
- PYPARSING=pyparsing==2.0.1
69+
- PYTEST=pytest==3.0.0
70+
- PYTEST_COV=pytest-cov==2.3.1
71+
- SPHINX=sphinx==1.3
5872
- python: 3.4
5973
env: PYTHON_ARGS=-OO
6074
- python: 3.6
61-
env: DELETE_FONT_CACHE=1 INSTALL_PEP8=pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
75+
env: DELETE_FONT_CACHE=1 PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
6276
- python: "nightly"
6377
env: PRE=--pre
6478
- os: osx
@@ -109,17 +123,15 @@ install:
109123
pip install --upgrade $PRE \
110124
codecov \
111125
coverage \
112-
cycler \
126+
$CYCLER \
113127
$MOCK \
114128
$NOSE \
115129
$NUMPY \
116130
$PANDAS \
117131
pillow \
118-
pyparsing!=2.1.6 \
119-
$PYTEST \
120-
$PYTEST_COV \
121-
python-dateutil \
122-
sphinx
132+
$PYPARSING \
133+
$DATEUTIL \
134+
$SPHINX
123135
# GUI toolkits are pip-installable only for some versions of Python so
124136
# don't fail if we can't install them. Make it easier to check whether the
125137
# install was successful by trying to import the toolkit (sometimes, the
@@ -137,13 +149,13 @@ install:
137149
echo 'wxPython is not available'
138150
139151
pip install $PRE \
140-
pytest \
141-
pytest-cov>=2.3.1 \
152+
$PYTEST \
153+
$PYTEST_COV \
142154
pytest-faulthandler \
155+
$PYTEST_PEP8 \
143156
pytest-rerunfailures \
144157
pytest-timeout \
145-
pytest-xdist \
146-
$INSTALL_PEP8
158+
pytest-xdist
147159
148160
# Use the special local version of freetype for testing
149161
cp ci/travis/setup.cfg .

0 commit comments

Comments
 (0)