blob: 0e49ad3635c44aa6ebb20578691e0b5298df3785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
set -ev
which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available
if [ "$BUILD_MODE" = "coverage" ]; then
wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
tar -xvf lcov_1.11.orig.tar.gz
export PREFIX="/tmp"
make -C lcov-1.11/ install
pip install --user coverage
pip install --user codecov
fi
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$TARGETOS" != "ios" ]; then
# Workaround for https://github.com/Homebrew/homebrew/issues/42553
brew update || brew update
brew install xz
brew install python # python2
brew install python3
# Boost 1.58 is installed on Travis OS X images
# brew install boost
fi
|