3 # Cache the global cargo directory, but NOT the local `target` directory which
4 # we cannot reuse anyway when the nightly changes (and it grows quite large
15 # Linux: install extra stuff for cross-compilation
16 - if [[ "$TRAVIS_OS_NAME" == linux ]]; then sudo apt update && sudo apt install gcc-multilib; fi
17 # Compute the rust version we use. We do not use "language: rust" to have more control here.
19 if [[ "$TRAVIS_EVENT_TYPE" == cron ]]; then
20 RUST_TOOLCHAIN=nightly
22 RUST_TOOLCHAIN=$(cat rust-version)
25 - curl https://build.travis-ci.org/files/rustup-init.sh -sSf | sh -s -- -y --default-toolchain "$RUST_TOOLCHAIN"
26 - export PATH=$HOME/.cargo/bin:$PATH
36 - post+travis@ralfj.de
37 - travis-miri@oli-obk.de
43 - RUST_TEST_NOCAPTURE=1