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