rust/.travis.yml
2017-01-28 16:14:32 +01:00

28 lines
777 B
YAML

language: rust
rust:
- nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
- 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
- sh ~/rust-installer/rustup.sh --add-target=i686-pc-windows-msvc --prefix=/home/travis/rust -y --disable-sudo
script:
- |
export RUST_SYSROOT=$HOME/rust &&
travis-cargo build &&
travis-cargo test &&
travis-cargo install &&
cd cargo-miri-test &&
cargo miri &&
cargo miri test &&
cd ..
notifications:
email:
on_success: never
env:
global:
- RUST_TEST_NOCAPTURE=1
- TRAVIS_CARGO_NIGHTLY_FEATURE=""