Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 60de3d3

Browse files
authored
Fix Travis coverage (#19)
Signed-off-by: Isaac Hier <[email protected]>
1 parent 895b3f9 commit 60de3d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ matrix:
1212
- g++-6
1313
- lcov
1414
env:
15-
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6 && COVERAGE=ON"
15+
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
16+
- COVERAGE=ON
1617
- os: linux
1718
addons:
1819
apt:

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function working() {
2121

2222
mkdir -p build
2323
cd build || exit
24-
if [ $COVERAGE != "" ]; then
24+
if [ "x$COVERAGE" != "x" ]; then
2525
cmake -DCMAKE_BUILD_TYPE=Debug -DJAEGERTRACING_COVERAGE=ON ..
2626
else
2727
cmake -DCMAKE_BUILD_TYPE=Debug -DJAEGERTRACING_COVERAGE=OFF ..

0 commit comments

Comments
 (0)