diff options
author | Chris Wilson <chris+github@qwirx.com> | 2016-08-30 22:20:48 +0100 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2016-08-28 21:46:26 +0100 |
commit | 1abb97d5bb8d172c6a11ab0f6cdfbc183f8529a8 (patch) | |
tree | f1349d6d344ba584913410f8a5bbd0e179bb4deb /infrastructure | |
parent | cf52058f32e54fe720abe51d8d5266b440180163 (diff) |
Replace Travis build instructions with a script.
Easier to run locally to help reproduce issues with Travis builds.
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/travis-build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/infrastructure/travis-build.sh b/infrastructure/travis-build.sh new file mode 100755 index 00000000..f4cd4ef4 --- /dev/null +++ b/infrastructure/travis-build.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +set -x + +ccache -s + +cd `dirname $0`/.. +./bootstrap +./configure CC="ccache $CC" CXX="ccache $CXX" "$@" +grep CXX config.status +make V=1 +./runtest.pl ALL $TEST_TARGET + +ccache -s |