summaryrefslogtreecommitdiff
path: root/.travis/common.sh
blob: 8eecc4c099f0dd4421534f50f5e57a6fcc29f5eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"