CI: build with debug assertions

This commit is contained in:
Ralf Jung 2019-04-18 14:58:30 +02:00
parent 7d9dc6e698
commit 78e11058d3
2 changed files with 7 additions and 4 deletions

View file

@ -30,6 +30,7 @@ install:
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 .

View file

@ -12,6 +12,12 @@ os:
- 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
@ -48,7 +54,3 @@ notifications:
branches:
only:
- master
env:
global:
- RUST_TEST_NOCAPTURE=1
- RUST_BACKTRACE=1