Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37ad7ab

Browse files
committed
Test oldest versions of all deps.
1 parent a3467d0 commit 37ad7ab

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
@@ -43,15 +43,19 @@ env:
4343
- secure: RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
4444
- secure: E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
4545
- secure: "dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU="
46+
- CYCLER=cycler
47+
- DATEUTIL=python-dateutil
4648
- MOCK=
4749
- NOSE=
4850
- NUMPY=numpy
4951
- PANDAS=
52+
- PYPARSING=pyparsing
5053
- PYTEST=pytest
5154
- PYTEST_COV=pytest-cov
55+
- PYTEST_PEP8=
56+
- SPHINX=sphinx
5257
- OPENBLAS_NUM_THREADS=1
5358
- NPROC=2
54-
- INSTALL_PEP8=
5559
- RUN_PEP8=
5660
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
5761
- PYTHON_ARGS=
@@ -61,11 +65,21 @@ matrix:
6165
include:
6266
- python: 2.7
6367
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
64-
env: MOCK=mock NOSE=nose NUMPY=numpy==1.7.1 PANDAS=pandas PYTEST=pytest==3.0.0 PYTEST_COV=pytest-cov==2.3.1
68+
env:
69+
- CYCLER=cycler==0.10
70+
- DATEUTIL=python-dateutil==2.0
71+
- MOCK=mock
72+
- NOSE=nose
73+
- NUMPY=numpy==1.7.1
74+
- PANDAS=pandas
75+
- PYPARSING=pyparsing==2.0.1
76+
- PYTEST=pytest==3.0.0
77+
- PYTEST_COV=pytest-cov==2.3.1
78+
- SPHINX=sphinx==1.3
6579
- python: 3.4
6680
env: PYTHON_ARGS=-OO
6781
- python: 3.6
68-
env: DELETE_FONT_CACHE=1 INSTALL_PEP8=pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
82+
env: DELETE_FONT_CACHE=1 PYTEST_PEP8=pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
6983
- python: "nightly"
7084
env: PRE=--pre
7185
- os: osx
@@ -116,17 +130,15 @@ install:
116130
pip install --upgrade $PRE \
117131
codecov \
118132
coverage \
119-
cycler \
133+
$CYCLER \
120134
$MOCK \
121135
$NOSE \
122136
$NUMPY \
123137
$PANDAS \
124138
pillow \
125-
pyparsing!=2.1.6 \
126-
$PYTEST \
127-
$PYTEST_COV \
128-
python-dateutil \
129-
sphinx
139+
$PYPARSING \
140+
$DATEUTIL \
141+
$SPHINX
130142
# GUI toolkits are pip-installable only for some versions of Python so
131143
# don't fail if we can't install them. Make it easier to check whether the
132144
# install was successful by trying to import the toolkit (sometimes, the
@@ -144,13 +156,13 @@ install:
144156
echo 'wxPython is not available'
145157
146158
pip install $PRE \
147-
pytest \
148-
pytest-cov>=2.3.1 \
159+
$PYTEST \
160+
$PYTEST_COV \
149161
pytest-faulthandler \
162+
$PYTEST_PEP8 \
150163
pytest-rerunfailures \
151164
pytest-timeout \
152-
pytest-xdist \
153-
$INSTALL_PEP8
165+
pytest-xdist
154166
155167
# Use the special local version of freetype for testing
156168
cp ci/travis/setup.cfg .

0 commit comments

Comments
 (0)