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