summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-28 19:01:33 +0100
committerEmil Velikov <[email protected]>2017-04-30 09:46:32 +0100
commite7cafd09baf389bfc369199bd0c3c7447d180b2c (patch)
tree60d9f4ef986b3a9b61cff993fd038c62964353e0 /.travis.yml
parentf76068b879734d7fb2b312463f5cb07d65f36222 (diff)
travis: model scons check target like the make one
Should make things a bit more consistent across the board. Cc: Eric Engestrom <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Andres Gomez <[email protected]> (cherry picked from commit b3f2076549ec2bf13ee8bca965d3bf887abb6f20)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b806237a94a..0e35b6e2759 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -132,6 +132,8 @@ matrix:
- SCONSFLAGS="-j4"
# Explicitly disable.
- SCONS_TARGET="llvm=0"
+ # Keep it symmetrical to the make build.
+ - SCONS_CHECK_COMMAND="scons llvm=0 check"
addons:
apt:
packages:
@@ -146,6 +148,8 @@ matrix:
- BUILD=scons
- SCONSFLAGS="-j4"
- SCONS_TARGET="llvm=1"
+ # Keep it symmetrical to the make build.
+ - SCONS_CHECK_COMMAND="scons llvm=1 check"
- LLVM_VERSION=3.3
- LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
addons:
@@ -167,6 +171,8 @@ matrix:
- SCONS_TARGET="swr=1"
- LLVM_VERSION=3.9
- LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
+ # Keep it symmetrical to the make build. There's no actual SWR, yet.
+ - SCONS_CHECK_COMMAND="true"
- OVERRIDE_CC="gcc-5"
- OVERRIDE_CXX="g++-5"
addons:
@@ -281,5 +287,5 @@ script:
- if test "x$BUILD" = xscons; then
test -n "$OVERRIDE_CC" && export CC="$OVERRIDE_CC";
test -n "$OVERRIDE_CXX" && export CXX="$OVERRIDE_CXX";
- scons $SCONS_TARGET && scons $SCONS_TARGET check;
+ scons $SCONS_TARGET && eval $SCONS_CHECK_COMMAND;
fi