File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,11 @@ matrix:
87
87
- EXTRAREQS='-r requirements/testing/travis_flake8.txt'
88
88
- python : 3.6
89
89
env :
90
- - CPPFLAGS=--coverage
91
90
- PINNEDVERS='-c requirements/testing/travis36minver.txt'
92
91
- DELETE_FONT_CACHE=1
93
92
- EXTRAREQS='-r requirements/testing/travis36.txt'
94
93
- python : 3.7
95
94
sudo : true
96
- env :
97
- - CPPFLAGS=--coverage
98
95
- python : " nightly"
99
96
env :
100
97
- PRE=--pre
@@ -162,6 +159,11 @@ install:
162
159
echo 'wxPython is available' ||
163
160
echo 'wxPython is not available'
164
161
162
+ # Set flag in a delayed manner to avoid issues with installing other packages
163
+ - |
164
+ if [[ $RUN_PYTEST == 1 ]]; then
165
+ export CPPFLAGS=--coverage
166
+ fi
165
167
- |
166
168
# Install matplotlib
167
169
python -mpip install -ve .
You can’t perform that action at this time.
0 commit comments