Skip to content

Commit 1901571

Browse files
committed
Fix travis ci config
1 parent 4d7f703 commit 1901571

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ env:
2121
- RUST_BACKTRACE=1
2222
# Reduce amount of benchmark runs as they are slow.
2323
- COMPILE_RUNS=2 RUN_RUNS=2
24-
CG_CLIF_COMPILE_FLAGS:
25-
- ""
26-
- "--features backend_object"
24+
jobs:
25+
- "CG_CLIF_COMPILE_FLAGS="
26+
- "CG_CLIF_COMPILE_FLAGS='--features backend_object'"

test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ set -e
44

55
if [[ "$1" == "--release" ]]; then
66
export CHANNEL='release'
7-
cargo build --release
7+
cargo build --release $CG_CLIF_COMPILE_FLAGS
88
else
99
export CHANNEL='debug'
10-
cargo build
10+
cargo build $CG_CLIF_COMPILE_FLAGS
1111
fi
1212

1313
source config.sh

0 commit comments

Comments
 (0)