Fix travis ci config

This commit is contained in:
bjorn3 2019-10-19 11:10:34 +02:00
parent 4d7f70318a
commit 1901571d86
2 changed files with 5 additions and 5 deletions

View File

@ -21,6 +21,6 @@ env:
- RUST_BACKTRACE=1
# Reduce amount of benchmark runs as they are slow.
- COMPILE_RUNS=2 RUN_RUNS=2
CG_CLIF_COMPILE_FLAGS:
- ""
- "--features backend_object"
jobs:
- "CG_CLIF_COMPILE_FLAGS="
- "CG_CLIF_COMPILE_FLAGS='--features backend_object'"

View File

@ -4,10 +4,10 @@ set -e
if [[ "$1" == "--release" ]]; then
export CHANNEL='release'
cargo build --release
cargo build --release $CG_CLIF_COMPILE_FLAGS
else
export CHANNEL='debug'
cargo build
cargo build $CG_CLIF_COMPILE_FLAGS
fi
source config.sh