Clean up CI configuration and add s390x
We can't test s390x because qemu segfaults but we can at least verify that it
compiles.
Closes #650
diff --git a/.travis.yml b/.travis.yml
index b7721b5..4a39797 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
language: rust
+rust: stable
sudo: required
dist: trusty
services:
@@ -22,109 +23,63 @@
matrix:
include:
# 1.0.0 compat
- - os: linux
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: 1.0.0
script: cargo build
install:
# build documentation
- - os: linux
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
script: sh ci/dox.sh
# stable compat
- - os: linux
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
- rust: stable
- - os: linux
- env: TARGET=i686-unknown-linux-gnu
- rust: stable
+ - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - env: TARGET=i686-unknown-linux-gnu
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
- rust: stable
- os: osx
env: TARGET=i686-apple-darwin
- rust: stable
- - os: linux
- env: TARGET=arm-linux-androideabi
- rust: stable
- - os: linux
- env: TARGET=aarch64-linux-android
- rust: stable
- - os: linux
- env: TARGET=i686-linux-android
- rust: stable
- # as of 2017/05/03 x86_64-linux-android are not on stable
- - os: linux
- env: TARGET=x86_64-linux-android
- rust: beta
- - os: linux
- env: TARGET=x86_64-unknown-linux-musl
- rust: stable
- - os: linux
- env: TARGET=i686-unknown-linux-musl
- rust: stable
- - os: linux
- env: TARGET=arm-unknown-linux-gnueabihf
- rust: stable
- - os: linux
- env: TARGET=aarch64-unknown-linux-gnu
- rust: stable
+ - env: TARGET=arm-linux-androideabi
+ - env: TARGET=aarch64-linux-android
+ - env: TARGET=i686-linux-android
+ - env: TARGET=x86_64-linux-android
+ - env: TARGET=x86_64-unknown-linux-musl
+ - env: TARGET=i686-unknown-linux-musl
+ - env: TARGET=arm-unknown-linux-gnueabihf
+ - env: TARGET=aarch64-unknown-linux-gnu
- os: osx
osx_image: xcode8.2
env: TARGET=i386-apple-ios
- rust: stable
- os: osx
osx_image: xcode8.2
env: TARGET=x86_64-apple-ios
- rust: stable
- - os: linux
- env: TARGET=x86_64-rumprun-netbsd
- rust: stable
- - os: linux
- env: TARGET=powerpc-unknown-linux-gnu
- rust: stable
- - os: linux
- env: TARGET=powerpc64-unknown-linux-gnu
- rust: beta
- - os: linux
- env: TARGET=mips-unknown-linux-musl
- rust: stable
- - os: linux
- env: TARGET=mipsel-unknown-linux-musl
- rust: stable
- - os: linux
- env: TARGET=mips64-unknown-linux-gnuabi64
- rust: beta
- - os: linux
- env: TARGET=mips-unknown-linux-gnu
- rust: beta
+ - env: TARGET=x86_64-rumprun-netbsd
+ - env: TARGET=powerpc-unknown-linux-gnu
+ - env: TARGET=powerpc64-unknown-linux-gnu
+ - env: TARGET=mips-unknown-linux-musl
+ - env: TARGET=mipsel-unknown-linux-musl
+ - env: TARGET=mips64-unknown-linux-gnuabi64
+ - env: TARGET=mips-unknown-linux-gnu
+ - env: TARGET=s390x-unknown-linux-gnu
# beta
- - os: linux
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: beta
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: beta
# nightly
- - os: linux
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: nightly
# QEMU based targets that compile in an emulator
- - os: linux
- env: TARGET=x86_64-unknown-freebsd
- rust: stable
- - os: linux
- env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
- rust: stable
+ - env: TARGET=x86_64-unknown-freebsd
+ - env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
script: sh ci/run-docker.sh $TARGET
install: