rust/.travis.yml

28 lines
777 B
YAML
Raw Normal View History

2016-04-14 00:10:31 +02:00
language: rust
rust:
- nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
2017-01-10 12:50:27 +01:00
- sh ~/rust-installer/rustup.sh --add-target=i686-unknown-linux-gnu --prefix=/home/travis/rust -y --disable-sudo
- sh ~/rust-installer/rustup.sh --add-target=i686-pc-windows-gnu --prefix=/home/travis/rust -y --disable-sudo
2017-01-12 08:53:03 +01:00
- sh ~/rust-installer/rustup.sh --add-target=i686-pc-windows-msvc --prefix=/home/travis/rust -y --disable-sudo
2016-04-14 00:10:31 +02:00
script:
2016-06-16 10:46:43 +02:00
- |
export RUST_SYSROOT=$HOME/rust &&
travis-cargo build &&
travis-cargo test &&
travis-cargo install &&
cd cargo-miri-test &&
cargo miri &&
cargo miri test &&
cd ..
2016-04-14 00:10:31 +02:00
notifications:
email:
on_success: never
2016-04-15 16:50:36 +02:00
env:
global:
- RUST_TEST_NOCAPTURE=1
- TRAVIS_CARGO_NIGHTLY_FEATURE=""