aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/install.sh
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-25 14:26:34 -0400
committerJack Lloyd <[email protected]>2016-08-25 14:26:34 -0400
commit1354eabeb65a38f933dda42b16f7645a77b4972d (patch)
tree8a7902e9e57355d049fd5550e551c416464a49e2 /src/scripts/ci/travis/install.sh
parent949ff42b3bb0ff4751b414aad5fcbe90d8d26d99 (diff)
parent7d37534d81819f5328336b489bee1d68cb4a129b (diff)
Merge GH #603 Use ccache on OS X Travis CI build
Diffstat (limited to 'src/scripts/ci/travis/install.sh')
-rwxr-xr-xsrc/scripts/ci/travis/install.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/scripts/ci/travis/install.sh b/src/scripts/ci/travis/install.sh
index 387ccef6c..a9d38ed80 100755
--- a/src/scripts/ci/travis/install.sh
+++ b/src/scripts/ci/travis/install.sh
@@ -18,14 +18,19 @@ if [ "$BUILD_MODE" = "sonarqube" ]; then
unzip build-wrapper-linux-x86.zip
fi
-if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$TARGETOS" != "ios" ]; then
+if [ "$TRAVIS_OS_NAME" = "osx" ]; then
# Workaround for https://github.com/Homebrew/homebrew/issues/42553
brew update || brew update
- brew install xz
- brew install python # python2
- brew install python3
+ brew install ccache
+
+ if [ "$TARGETOS" = "native" ]; then
+ brew install xz
+ brew install python # python2
+ brew install python3
+
+ # Boost 1.58 is installed on Travis OS X images
+ # brew install boost
+ fi
- # Boost 1.58 is installed on Travis OS X images
- # brew install boost
fi