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