11 # mac os weirdness (https://github.com/travis-ci/travis-ci/issues/6307)
12 - curl -sSL https://rvm.io/mpapis.asc | gpg --import -
15 - export PATH=$HOME/.local/bin:$PATH
16 - rustup target add i686-unknown-linux-gnu
17 - rustup target add i686-pc-windows-gnu
18 - rustup target add i686-pc-windows-msvc
19 - rustup component add rust-src
20 - cargo install xargo || echo "skipping xargo install"
21 - export RUST_SYSROOT=$HOME/rust
25 # get ourselves a MIR-ful libstd
29 cargo build --release --all-features &&
30 cargo test --release --all-features --all &&
31 cargo install --all-features --force
39 # and run all tests with full mir
40 MIRI_SYSROOT=~/.xargo/HOST cargo test --release
42 # test that the rustc_tests binary compiles
44 cargo build --release &&
54 - RUST_TEST_NOCAPTURE=1
55 - TRAVIS_CARGO_NIGHTLY_FEATURE=""