]> git.lizzy.rs Git - rust.git/blob - .travis.yml
Produce backtraces for miri internals
[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   # get ourselves a MIR-ful libstd
15   xargo/build.sh
16 - |
17   # Test plain miri
18   cargo build &&
19   cargo test &&
20   cargo install
21 - |
22   # Test cargo miri
23   cd cargo-miri-test &&
24   cargo miri &&
25   cargo miri test &&
26   cd ..
27 - |
28   # and run all tests with full mir
29   MIRI_SYSROOT=~/.xargo/HOST cargo test
30 - |
31   # test that the rustc_tests binary compiles
32   cd rustc_tests &&
33   cargo build &&
34   cd ..
35 notifications:
36   email:
37     on_success: never
38 env:
39   global:
40   - RUST_TEST_NOCAPTURE=1
41   - TRAVIS_CARGO_NIGHTLY_FEATURE=""