rust/.travis.yml

46 lines
1009 B
YAML
Raw Normal View History

2016-04-13 17:10:31 -05:00
language: rust
rust:
- nightly
before_script:
2017-03-23 09:52:11 -05:00
- export PATH=$HOME/.local/bin:$PATH
- rustup target add i686-unknown-linux-gnu
- rustup target add i686-pc-windows-gnu
- rustup target add i686-pc-windows-msvc
- rustup component add rust-src
- cargo install --git https://github.com/japaric/xargo.git
- export RUST_SYSROOT=$HOME/rust
2016-04-13 17:10:31 -05:00
script:
2017-08-18 04:42:00 -05:00
- set -e
2017-06-21 01:55:32 -05:00
- |
# get ourselves a MIR-ful libstd
xargo/build.sh
2016-06-16 03:46:43 -05:00
- |
# Test plain miri
cargo build --locked --release --features "cargo_miri" &&
2017-08-07 17:39:27 -05:00
cargo test --release --all &&
cargo install --features "cargo_miri"
- |
# Test cargo miri
cd cargo-miri-test &&
cargo miri &&
cargo miri test &&
cd ..
- |
2017-06-21 01:55:32 -05:00
# and run all tests with full mir
MIRI_SYSROOT=~/.xargo/HOST cargo test --release
2017-08-01 09:44:49 -05:00
- |
# test that the rustc_tests binary compiles
cd rustc_tests &&
cargo build --locked --release &&
2017-08-01 09:44:49 -05:00
cd ..
2016-04-13 17:10:31 -05:00
notifications:
email:
on_success: never
2017-09-09 04:28:24 -05:00
branches:
only:
- master
2016-04-15 09:50:36 -05:00
env:
global:
- RUST_TEST_NOCAPTURE=1
- TRAVIS_CARGO_NIGHTLY_FEATURE=""