aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/setup_travis.sh
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-09 11:45:50 -0500
committerJack Lloyd <[email protected]>2018-12-09 11:45:50 -0500
commit30698817d787adde42256e32dde0f32c082cd739 (patch)
treeaddc63ab8c57c3730ed97151691eca26007870f7 /src/scripts/ci/setup_travis.sh
parent537b94953a5ffc490d7f656dff347ef3fc795663 (diff)
Add an i386 CI target to check on 32-bit asm
Diffstat (limited to 'src/scripts/ci/setup_travis.sh')
-rwxr-xr-xsrc/scripts/ci/setup_travis.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/scripts/ci/setup_travis.sh b/src/scripts/ci/setup_travis.sh
index f16eff04c..46292cbb6 100755
--- a/src/scripts/ci/setup_travis.sh
+++ b/src/scripts/ci/setup_travis.sh
@@ -15,14 +15,18 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
sudo apt-get -qq update
sudo apt-get install valgrind
- elif [ "$BUILD_MODE" = "cross-win64" ]; then
- sudo apt-get -qq update
- sudo apt-get install wine g++-mingw-w64-x86-64
-
elif [ "$BUILD_MODE" = "gcc4.8" ]; then
sudo apt-get -qq update
sudo apt-get install g++-4.8
+ elif [ "$BUILD_MODE" = "cross-i386" ]; then
+ sudo apt-get -qq update
+ sudo apt-get install g++-multilib linux-libc-dev libc6-dev-i386
+
+ elif [ "$BUILD_MODE" = "cross-win64" ]; then
+ sudo apt-get -qq update
+ sudo apt-get install wine g++-mingw-w64-x86-64
+
elif [ "$BUILD_MODE" = "cross-arm32" ]; then
sudo apt-get -qq update
sudo apt-get install qemu-user g++-arm-linux-gnueabihf