Test sparc64-linux-gnu on travis
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/.travis.yml b/.travis.yml
index e5941b0..3b71f9c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,8 @@ matrix:
- os: linux
env: HOST=powerpc64le-unknown-linux-gnu
- os: linux
+ env: HOST=sparc64-linux-gnu
+ - os: linux
compiler: gcc
env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- os: linux
diff --git a/.travis/build.sh b/.travis/build.sh
index aeab2c6..217f4e7 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -55,7 +55,7 @@ case "$HOST" in
aarch64-linux-gnu)
build_foreign_linux aarch64 moxielogic/aarch64-ci-build-container:latest
;;
- powerpc64le-unknown-linux-gnu)
+ powerpc64le-unknown-linux-gnu | sparc64-linux-gnu)
build_cfarm
;;
s390x-linux-gnu)
diff --git a/.travis/install.sh b/.travis/install.sh
index e0d64d6..405395c 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -10,7 +10,7 @@ else
sudo apt-get clean # clear the cache
sudo apt-get update
case $HOST in
- powerpc64le-unknown-linux-gnu)
+ powerpc64le-unknown-linux-gnu | sparc64-linux-gnu)
;;
arm32v7-linux-gnu | aarch64-linux-gnu | s390x-linux-gnu)
sudo apt-get install qemu-user-static