aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/install.sh
diff options
context:
space:
mode:
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