build_script:
- set RUST_TEST_NOCAPTURE=1
- set RUST_BACKTRACE=1
+ - set RUSTFLAGS="-C debug-assertions"
# Build and install miri
- cargo build --release --all-features --all-targets
- cargo install --all-features --force --path .
- osx
dist: xenial
+env:
+ global:
+ - RUST_TEST_NOCAPTURE=1
+ - RUST_BACKTRACE=1
+ - RUSTFLAGS="-C debug-assertions"
+
before_script:
# Linux: install extra stuff for cross-compilation
- if [[ "$TRAVIS_OS_NAME" == linux ]]; then sudo apt update && sudo apt install gcc-multilib; fi
branches:
only:
- master
-env:
- global:
- - RUST_TEST_NOCAPTURE=1
- - RUST_BACKTRACE=1