aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/install.sh
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-07 14:45:47 -0400
committerJack Lloyd <[email protected]>2016-10-07 15:30:05 -0400
commit787fa1cbf3d8f7fb72430497146808687859a8a0 (patch)
treefdc18aa4f489be02ac0e07578c3e2fdef59fb8c5 /src/scripts/ci/travis/install.sh
parentbd3a91bdc492ba1b2fabede888d7634d089de684 (diff)
Another try at ppc64el tests
Diffstat (limited to 'src/scripts/ci/travis/install.sh')
-rwxr-xr-xsrc/scripts/ci/travis/install.sh24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/scripts/ci/travis/install.sh b/src/scripts/ci/travis/install.sh
index 987438127..9459e448d 100755
--- a/src/scripts/ci/travis/install.sh
+++ b/src/scripts/ci/travis/install.sh
@@ -24,14 +24,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
if [ "$BUILD_MODE" = "valgrind" ]; then
sudo apt-get install valgrind
- elif [ "$BUILD_MODE" = "cross-arm32" ]; then
- sudo apt-get install g++-4.8-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
- elif [ "$BUILD_MODE" = "cross-arm64" ]; then
- sudo apt-get install g++-4.8-aarch64-linux-gnu libc6-dev-arm64-cross qemu-user
- elif [ "$BUILD_MODE" = "cross-ppc32" ]; then
- sudo apt-get install g++-4.8-powerpc-linux-gnu libc6-dev-powerpc-cross qemu-user
- elif [ "$BUILD_MODE" = "cross-ppc64" ]; then
- sudo apt-get install g++-4.8-powerpc64le-linux-gnu libc6-dev-ppc64el-cross qemu-user
elif [ "$BUILD_MODE" = "cross-win32" ]; then
sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev
@@ -39,6 +31,22 @@ if [ "$TRAVIS_OS_NAME" = "linux" ]; then
sudo dpkg --add-architecture i386
sudo apt-get -qq update # have to update again due to adding i386 above
sudo apt-get install wine
+ else
+
+ # Need updated qemu
+ sudo add-apt-repository -y ppa:ubuntu-cloud-archive/kilo-staging
+ sudo apt-get -qq update
+ sudo apt-get install qemu
+
+ if [ "$BUILD_MODE" = "cross-arm32" ]; then
+ sudo apt-get install g++-4.8-arm-linux-gnueabihf libc6-dev-armhf-cross
+ elif [ "$BUILD_MODE" = "cross-arm64" ]; then
+ sudo apt-get install g++-4.8-aarch64-linux-gnu libc6-dev-arm64-cross
+ elif [ "$BUILD_MODE" = "cross-ppc32" ]; then
+ sudo apt-get install g++-4.8-powerpc-linux-gnu libc6-dev-powerpc-cross
+ elif [ "$BUILD_MODE" = "cross-ppc64" ]; then
+ sudo apt-get install g++-4.8-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
+ fi
fi
fi
fi