Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a25978

Browse files
committed
Use ccache on OSX
1 parent d7ca847 commit 7a25978

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,17 @@ before_install:
7676
else
7777
brew update
7878
brew tap homebrew/gui
79-
brew install python libpng ffmpeg imagemagick mplayer
79+
brew install python libpng ffmpeg imagemagick mplayer ccache
8080
# We could install ghostscript and inkscape here to test svg and pdf
8181
# but this makes the test time really long.
8282
# brew install ghostscript inkscape
83+
export PATH=/usr/local/opt/ccache/libexec:$PATH
8384
fi
8485
8586
install:
8687
- |
8788
# Setup environment
88-
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
89-
ccache -s
90-
fi
89+
ccache -s
9190
# Upgrade pip and setuptools and wheel to get as clean an install as possible
9291
pip install --upgrade pip
9392
pip install --upgrade wheel

0 commit comments

Comments
 (0)