From 949089d9f364c6535bff9f2732dbdfe11c627939 Mon Sep 17 00:00:00 2001 From: Daniel Evers Date: Mon, 28 Jan 2019 11:00:08 +0100 Subject: [PATCH] avoid expanding empty variables --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f731e33f..bf52446b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,8 +41,9 @@ before_script: - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date script: - - if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi - - cmake --build . --config $CONFIG ${ARGS:-} + - ARGS="--config $CONFIG" + - if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="$ARGS -DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi + - cmake --build . $ARGS - ctest --output-on-failure after_script: