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
|
2017-05-30 16:09:40 -05:00
|
|
|
- rustup component add rust-src
|
|
|
|
- cargo install xargo
|
|
|
|
- export RUST_SYSROOT=$HOME/rust
|
2016-04-13 17:10:31 -05:00
|
|
|
script:
|
2017-06-21 01:55:32 -05:00
|
|
|
- |
|
|
|
|
# get ourselves a MIR-ful libstd
|
2017-07-11 12:25:05 -05:00
|
|
|
xargo/build.sh
|
2016-06-16 03:46:43 -05:00
|
|
|
- |
|
2017-05-30 16:09:40 -05:00
|
|
|
# Test plain miri
|
2017-07-21 06:39:06 -05:00
|
|
|
cd miri/ && cargo build &&
|
2017-03-23 09:52:11 -05:00
|
|
|
cargo test &&
|
2017-07-19 10:28:46 -05:00
|
|
|
cargo install &&
|
2017-07-21 06:39:06 -05:00
|
|
|
cd ..
|
2017-05-30 16:09:40 -05:00
|
|
|
- |
|
|
|
|
# Test cargo miri
|
2017-01-24 10:55:42 -06:00
|
|
|
cd cargo-miri-test &&
|
2017-01-28 09:14:32 -06:00
|
|
|
cargo miri &&
|
|
|
|
cargo miri test &&
|
2017-01-24 10:55:42 -06:00
|
|
|
cd ..
|
2017-05-30 16:09:40 -05:00
|
|
|
- |
|
2017-06-21 01:55:32 -05:00
|
|
|
# and run all tests with full mir
|
2017-07-21 06:39:06 -05:00
|
|
|
cd miri/ && MIRI_SYSROOT=~/.xargo/HOST cargo test && cd ..
|
2016-04-13 17:10:31 -05:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2016-04-15 09:50:36 -05:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- RUST_TEST_NOCAPTURE=1
|
|
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|