diff options
Diffstat (limited to '.travis/common.sh')
-rw-r--r-- | .travis/common.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis/common.sh b/.travis/common.sh new file mode 100644 index 000000000..8eecc4c09 --- /dev/null +++ b/.travis/common.sh @@ -0,0 +1,15 @@ +#! /bin/bash + +# Setup the CC / CXX from the matrix config +eval "${MATRIX_EVAL}" + +# Look for location binaries first +export PATH="$HOME/.local-bin/bin:$PATH" + +# OS X specific common setup +if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + export PATH="/usr/local/opt/ccache/libexec:$PATH" +fi + +# Parallel builds! +MAKEFLAGS="-j 2" |