8000 travis: do not compile with coverage on osx and try to get Python cov… · matplotlib/matplotlib@89478c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89478c1

Browse files
travis: do not compile with coverage on osx and try to get Python coverage back
1 parent 746bcdd commit 89478c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,16 @@ install:
161161
162162
# Set flag in a delayed manner to avoid issues with installing other packages
163163
- |
164-
if [[ $RUN_PYTEST == 1 ]]; then
164+
if [[ $TRAVIS_OS_NAME != 'osx' ]] && [[ $RUN_PYTEST == 1 ]]; then
165165
export CPPFLAGS=--coverage
166166
fi
167167
- |
168168
# Install matplotlib
169169
python -mpip install -ve .
170+
- |
171+
if [[ $TRAVIS_OS_NAME != 'osx' ]] && [[ $RUN_PYTEST == 1 ]]; then
172+
unset CPPFLAGS
173+
fi
170174
171175
before_script: |
172176
if [[ $DELETE_FONT_CACHE == 1 ]]; then

0 commit comments

Comments
 (0)
0