File tree 2 files changed +15
-10
lines changed 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 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
+ - MOCK=
47
+ - NOSE=
46
48
- NUMPY=numpy
47
- - OPENBLAS_NUM_THREADS=1
48
49
- PANDAS=
50
+ - PYTEST=pytest
51
+ - PYTEST_COV=pytest-cov
52
+ - OPENBLAS_NUM_THREADS=1
49
53
- NPROC=2
50
54
- INSTALL_PEP8=
51
55
- RUN_PEP8=
52
- - NOSE=
53
56
- PYTEST_ARGS="-rawR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
54
57
- PYTHON_ARGS=
55
58
- DELETE_FONT_CACHE=
56
59
57
60
matrix :
58
61
include :
59
62
- python : 2.7
60
- env : MOCK=mock NUMPY=numpy==1.7.1 PANDAS=pandas NOSE=nose
63
+ # 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
61
65
- python : 3.4
62
66
env : PYTHON_ARGS=-OO
63
67
- python : 3.6
@@ -108,17 +112,19 @@ install:
108
112
# Upgrade pip and setuptools and wheel to get as clean an install as possible
109
113
pip install --upgrade pip setuptools wheel
110
114
- |
111
- # Install dependencies from pypi
115
+ # Install dependencies from PyPI
112
116
pip install --upgrade $PRE \
117
+ codecov \
118
+ coverage \
119
+ cycler \
113
120
$MOCK \
114
121
$NOSE \
115
122
$NUMPY \
116
123
$PANDAS \
117
- codecov \
118
- coverage \
119
- cycler \
120
124
pillow \
121
125
pyparsing!=2.1.6 \
126
+ $PYTEST \
127
+ $PYTEST_COV \
122
128
python-dateutil \
123
129
sphinx
124
130
# GUI toolkits are pip-installable only for some versions of Python so
@@ -137,7 +143,6 @@ install:
137
143
echo 'wxPython is available' ||
138
144
echo 'wxPython is not available'
139
145
140
- # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
141
146
pip install $PRE \
142
147
pytest \
143
148
pytest-cov>=2.3.1 \
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ local FreeType build
26
26
27
27
The following software is required to run the tests:
28
28
29
- - pytest _, version 3.0.0 or later
29
+ - pytest _ (>= 3.0.0)
30
30
- mock _, when running Python versions < 3.3
31
31
- Ghostscript _ (to render PDF files)
32
32
- Inkscape _ (to render SVG files)
33
33
34
34
Optionally you can install:
35
35
36
- - pytest-cov _ to collect coverage information
36
+ - pytest-cov _ (>=2.3.1) to collect coverage information
37
37
- pytest-pep8 _ to test coding standards
38
38
- pytest-timeout _ to limit runtime in case of stuck tests
39
39
- pytest-xdist _ to run tests in parallel
You can’t perform that action at this time.
0 commit comments