aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-18 20:18:38 -0400
committerJack Lloyd <[email protected]>2016-10-18 20:18:38 -0400
commit6803f5a73ba76bfceb4ab7d9952932d6e38b2e6b (patch)
treeb9a4f1226c8be762c7dda61c5266b0045d2b57c0 /src/scripts/ci/travis
parent8f1ecd838eb05ad71bcfeb8cc59873c6f4f903ba (diff)
Add BSI specific Travis build
Unfortunately something that is enabled in BSI but not 'modern' policy takes ages to run under qemu and causes Travis timeouts, so revert back to the old policy for the ARM builds. GH #667
Diffstat (limited to 'src/scripts/ci/travis')
-rwxr-xr-xsrc/scripts/ci/travis/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh
index 9a4ae6375..53c8df15a 100755
--- a/src/scripts/ci/travis/build.sh
+++ b/src/scripts/ci/travis/build.sh
@@ -17,6 +17,8 @@ if [ "$BUILD_MODE" = "static" ] || [ "$BUILD_MODE" = "mini-static" ]; then
elif [ "$BUILD_MODE" = "shared" ] || [ "$BUILD_MODE" = "mini-shared" ]; then
# No special flags required for shared lib build
CFG_FLAGS+=()
+elif [ "$BUILD_MODE" = "bsi" ]; then
+ CFG_FLAGS+=(--module-policy=bsi)
elif [ "$BUILD_MODE" = "sonarqube" ]; then
# No special flags required
CFG_FLAGS+=()
@@ -76,12 +78,12 @@ if [ "${BUILD_MODE:0:6}" = "cross-" ]; then
CC_BIN=arm-linux-gnueabihf-g++-4.8
TEST_PREFIX="qemu-arm -L /usr/arm-linux-gnueabihf/"
CFG_FLAGS+=(--cpu=armv7)
- CFG_FLAGS+=(--module-policy=bsi --enable-modules=tls)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-arm64" ]; then
CC_BIN=aarch64-linux-gnu-g++-4.8
TEST_PREFIX="qemu-aarch64 -L /usr/aarch64-linux-gnu/"
CFG_FLAGS+=(--cpu=armv8-a)
- CFG_FLAGS+=(--module-policy=bsi --enable-modules=tls)
+ CFG_FLAGS+=(--module-policy=modern --enable-modules=tls)
elif [ "$BUILD_MODE" = "cross-ppc32" ]; then
CC_BIN=powerpc-linux-gnu-g++-4.8
TEST_PREFIX="qemu-ppc -L /usr/powerpc-linux-gnu/"