40
40
- secure : RgJI7BBL8aX5FTOQe7xiXqWHMxWokd6GNUWp1NUV2mRLXPb9dI0RXqZt3UJwKTAzf1z/OtlHDmEkBoTVK81E9iUxK5npwyyjhJ8yTJmwfQtQF2n51Q1Ww9p+XSLORrOzZc7kAo6Kw6FIXN1pfctgYq2bQkrwJPRx/oPR8f6hcbY=
41
41
- secure : E7OCdqhZ+PlwJcn+Hd6ns9TDJgEUXiUNEI0wu7xjxB2vBRRIKtZMbuaZjd+iKDqCKuVOJKu0ClBUYxmgmpLicTwi34CfTUYt6D4uhrU+8hBBOn1iiK51cl/aBvlUUrqaRLVhukNEBGZcyqAjXSA/Qsnp2iELEmAfOUa92ZYo1sk=
42
42
- secure : " dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU="
43
+ - CYCLER=cycler
44
+ - DATEUTIL=python-dateutil
45
+ - MOCK=
46
+ - NOSE=
43
47
- NUMPY=numpy
44
- - OPENBLAS_NUM_THREADS=1
45
48
- PANDAS=
49
+ - PYPARSING=pyparsing
50
+ - PYTEST=pytest!=3.3.0
51
+ - PYTEST_COV=pytest-cov
52
+ - PYTEST_PEP8=
53
+ - SPHINX=sphinx
54
+ - OPENBLAS_NUM_THREADS=1
46
55
- NPROC=2
47
- - INSTALL_PEP8=
48
56
- RUN_PEP8=
49
- - NOSE=
50
57
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
51
58
- PYTHON_ARGS=
52
59
- DELETE_FONT_CACHE=
53
60
54
61
matrix :
55
62
include :
56
63
- python : 2.7
57
- env : MOCK=mock NUMPY=numpy==1.7.1 PANDAS=pandas NOSE=nose
64
+ # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
65
+ env :
66
+ - CYCLER=cycler==0.10
67
+ - DATEUTIL=python-dateutil==2.1
68
+ - MOCK=mock
69
+ - NOSE=nose
70
+ - NUMPY=numpy==1.7.1
71
+ - PANDAS='pandas<0.21.0'
72
+ - PYPARSING=pyparsing==2.0.1
73
+ - PYTEST=pytest==3.1.0
74
+ - PYTEST_COV=pytest-cov==2.3.1
75
+ - SPHINX=sphinx==1.3
58
76
- python : 3.4
59
77
env : PYTHON_ARGS=-OO
60
78
- python : 3.6
61
- env : DELETE_FONT_CACHE=1 INSTALL_PEP8= pytest-pep8 RUN_PEP8=--pep8 PANDAS=pandas
79
+ env : DELETE_FONT_CACHE=1 PANDAS='pandas<0.21.0' PYTEST_PEP8= pytest-pep8 RUN_PEP8=--pep8
62
80
- python : " nightly"
63
81
env : PRE=--pre
64
82
- os : osx
@@ -105,8 +123,11 @@ install:
105
123
# Upgrade pip and setuptools and wheel to get as clean an install as possible
106
124
pip install --upgrade pip setuptools wheel
107
125
- |
108
- # Install dependencies from pypi
126
+ # Install dependencies from PyPI
109
127
pip install --upgrade $PRE \
128
+ codecov \
129
+ coverage \
130
+ $CYCLER \
110
131
$MOCK \
111
132
$NOSE \
112
133
$NUMPY \
@@ -115,9 +136,9 @@ install:
115
136
coverage \
116
137
cycler \
117
138
pillow \
118
- pyparsing!=2.1.6 \
119
- python-dateutil \
120
- sphinx
139
+ $PYPARSING \
140
+ $DATEUTIL \
141
+ $SPHINX
121
142
# GUI toolkits are pip-installable only for some versions of Python so
122
143
# don't fail if we can't install them. Make it easier to check whether the
123
144
# install was successful by trying to import the toolkit (sometimes, the
@@ -134,15 +155,14 @@ install:
134
155
echo 'wxPython is available' ||
135
156
echo 'wxPython is not available'
136
157
137
- # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
138
158
pip install $PRE \
139
- pytest!=3.3.0 \
140
- pytest-cov>=2.3.1 \
159
+ $PYTEST \
160
+ $PYTEST_COV \
141
161
pytest-faulthandler \
162
+ $PYTEST_PEP8 \
142
163
pytest-rerunfailures \
143
164
pytest-timeout \
144
- pytest-xdist \
145
- $INSTALL_PEP8
165
+ pytest-xdist
146
166
147
167
# Use the special local version of freetype for testing
148
168
cp ci/travis/setup.cfg .
0 commit comments