From d2850b5b809759bafa7aead995d069acc023af15 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Wed, 25 Oct 2017 20:01:54 -0700 Subject: travis: Reworking travis setup. * Move the code into scripts inside .travis directory. * Build on multiple compiler versions. Fixes #442 - Make travis build pass Fixes #441 - Fix git version information on travis build Fixes #440 - Make travis cache the iverilog build --- .travis/common.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis/common.sh (limited to '.travis/common.sh') 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" -- cgit v1.2.3