2016-08-14 06:32:08 +08:00
|
|
|
dist: trusty
|
2016-09-27 13:22:10 +08:00
|
|
|
language: rust
|
2016-12-31 12:18:17 +08:00
|
|
|
rust: nightly
|
2016-08-14 06:22:12 +08:00
|
|
|
services: docker
|
2016-08-14 06:32:08 +08:00
|
|
|
sudo: required
|
2016-08-08 05:55:30 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: TARGET=aarch64-unknown-linux-gnu
|
|
|
|
- env: TARGET=arm-unknown-linux-gnueabi
|
|
|
|
- env: TARGET=arm-unknown-linux-gnueabihf
|
|
|
|
- env: TARGET=armv7-unknown-linux-gnueabihf
|
2016-08-14 06:43:40 +08:00
|
|
|
- env: TARGET=i586-unknown-linux-gnu
|
2016-08-08 05:55:30 +08:00
|
|
|
- env: TARGET=i686-apple-darwin
|
|
|
|
os: osx
|
|
|
|
- env: TARGET=i686-unknown-linux-gnu
|
2016-08-09 11:03:44 +08:00
|
|
|
- env: TARGET=mips-unknown-linux-gnu
|
2016-10-15 09:26:59 +08:00
|
|
|
- env: TARGET=mips64-unknown-linux-gnuabi64
|
|
|
|
- env: TARGET=mips64el-unknown-linux-gnuabi64
|
2016-08-09 12:07:33 +08:00
|
|
|
- env: TARGET=mipsel-unknown-linux-gnu
|
2016-08-09 08:31:37 +08:00
|
|
|
- env: TARGET=powerpc-unknown-linux-gnu
|
2016-08-09 10:59:31 +08:00
|
|
|
- env: TARGET=powerpc64-unknown-linux-gnu
|
2016-09-30 07:50:04 +08:00
|
|
|
- env: TARGET=powerpc64le-unknown-linux-gnu
|
2017-04-11 06:59:45 +08:00
|
|
|
- env: TARGET=thumbv6m-linux-eabi
|
|
|
|
- env: TARGET=thumbv7em-linux-eabi
|
|
|
|
- env: TARGET=thumbv7em-linux-eabihf
|
|
|
|
- env: TARGET=thumbv7m-linux-eabi
|
2016-08-08 05:55:30 +08:00
|
|
|
- env: TARGET=x86_64-apple-darwin
|
|
|
|
os: osx
|
2017-06-23 14:44:27 +08:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2016-09-27 13:22:10 +08:00
|
|
|
|
2016-08-08 05:55:30 +08:00
|
|
|
install:
|
2016-11-24 01:47:42 +08:00
|
|
|
- case $TARGET in
|
|
|
|
x86_64-apple-darwin | x86_64-unknown-linux-gnu) ;;
|
2017-04-11 06:59:45 +08:00
|
|
|
thumbv*eabi*) rustup component add rust-src ;;
|
2016-11-24 01:47:42 +08:00
|
|
|
*) rustup target add $TARGET;;
|
|
|
|
esac
|
2016-08-08 05:55:30 +08:00
|
|
|
|
|
|
|
script:
|
2016-12-12 03:58:05 +08:00
|
|
|
# work around rust-lang/cargo#3340
|
2016-12-12 04:26:18 +08:00
|
|
|
- test "$TRAVIS_OS_NAME" = "osx" ||
|
|
|
|
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
2016-09-27 13:22:10 +08:00
|
|
|
- cargo generate-lockfile
|
|
|
|
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
|
2016-10-01 09:08:29 +08:00
|
|
|
sudo apt-get remove -y qemu-user-static &&
|
|
|
|
sudo apt-get install -y qemu-user-static &&
|
2016-09-27 13:22:10 +08:00
|
|
|
sh ci/run-docker.sh $TARGET;
|
|
|
|
else
|
2016-10-06 12:01:58 +08:00
|
|
|
sh ci/run.sh $TARGET;
|
2016-09-27 13:22:10 +08:00
|
|
|
fi
|
2016-10-01 06:21:54 +08:00
|
|
|
|
2016-08-08 05:55:30 +08:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2016-10-15 02:44:45 +08:00
|
|
|
webhooks: https://buildbot.rust-lang.org/homu/travis
|