CI: build with debug assertions
This commit is contained in:
parent
7d9dc6e698
commit
78e11058d3
2 changed files with 7 additions and 4 deletions
|
|
@ -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 .
|
||||
|
|
|
|||
10
.travis.yml
10
.travis.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue