]> git.lizzy.rs Git - rust.git/blob - .travis.yml
Merge pull request #194 from RalfJung/test
[rust.git] / .travis.yml
1 language: rust
2 rust:
3 - nightly
4 before_script:
5 - export PATH=$HOME/.local/bin:$PATH
6 - rustup target add i686-unknown-linux-gnu
7 - rustup target add i686-pc-windows-gnu
8 - rustup target add i686-pc-windows-msvc
9 - rustup component add rust-src
10 - cargo install xargo
11 - export RUST_SYSROOT=$HOME/rust
12 script:
13 - |
14   # Test plain miri
15   cargo build &&
16   cargo test &&
17   cargo install
18 - |
19   # Test cargo miri
20   cd cargo-miri-test &&
21   cargo miri &&
22   cargo miri test &&
23   cd ..
24 - |
25   # get ourselves a MIR-ful libstd
26   cd xargo &&
27   RUSTFLAGS='-Zalways-encode-mir' xargo build &&
28   cd .. &&
29   # and run the tests with it
30   MIRI_SYSROOT=~/.xargo/HOST cargo test
31 notifications:
32   email:
33     on_success: never
34 env:
35   global:
36   - RUST_TEST_NOCAPTURE=1
37   - TRAVIS_CARGO_NIGHTLY_FEATURE=""