compiler-builtins-zynq/.travis.yml

71 lines
2.1 KiB
YAML
Raw Normal View History

2016-08-14 06:32:08 +08:00
dist: trusty
language: rust
services: docker
2016-08-14 06:32:08 +08:00
sudo: required
rust: nightly
cache: cargo
2016-08-08 05:55:30 +08:00
matrix:
include:
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=arm-unknown-linux-gnueabi
# FIXME(rust-lang/rust#36518)
rust: nightly-2016-09-21
2016-08-08 05:55:30 +08:00
- 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
# FIXME(rust-lang/rust#36793)
rust: nightly-2016-09-10
2016-08-08 05:55:30 +08:00
os: osx
- env: TARGET=i686-unknown-linux-gnu
# FIXME(rust-lang/rust#36793)
rust: nightly-2016-09-10
2016-08-09 11:03:44 +08:00
- env: TARGET=mips-unknown-linux-gnu
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
# QEMU crashes even when executing the simplest cross compiled C program:
# `int main() { return 0; }`
- env: TARGET=powerpc64le-unknown-linux-gnu NO_RUN=1
2016-08-14 06:43:40 +08:00
- env: TARGET=thumbv6m-none-eabi
install: cargo install xargo --debug -f
script: $HOME/.cargo/bin/xargo build --target $TARGET
2016-08-14 06:43:40 +08:00
- env: TARGET=thumbv7em-none-eabi
install: cargo install xargo --debug -f
script: $HOME/.cargo/bin/xargo build --target $TARGET
2016-09-22 19:15:05 +08:00
- env: TARGET=thumbv7em-none-eabihf
install: cargo install xargo --debug -f
script: $HOME/.cargo/bin/xargo build --target $TARGET
2016-08-08 05:55:30 +08:00
- env: TARGET=x86_64-apple-darwin
os: osx
env: TARGET=x86_64-unknown-linux-gnu
before_install:
- test "$TRAVIS_OS_NAME" = "osx" || docker run --rm --privileged multiarch/qemu-user-static:register
2016-08-08 05:55:30 +08:00
install:
- curl https://static.rust-lang.org/rustup.sh |
sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
2016-08-08 05:55:30 +08:00
script:
- cargo generate-lockfile
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
sudo apt-get remove -y qemu-user-static &&
sudo apt-get install -y qemu-user-static &&
sh ci/run-docker.sh $TARGET;
else
cargo test --target $TARGET &&
cargo test --target $TARGET --release;
fi
2016-08-08 05:55:30 +08:00
2016-08-08 05:59:54 +08:00
branches:
only:
2016-09-11 05:49:32 +08:00
- auto
- try
2016-08-08 05:59:54 +08:00
2016-08-08 05:55:30 +08:00
notifications:
email:
on_success: never
2016-09-11 05:49:32 +08:00
webhooks: https://homu.herokuapp.com/travis