From a9f54984522f5e610a582d9cf1c5497665e56c50 Mon Sep 17 00:00:00 2001 From: Daniel Evers Date: Mon, 28 Jan 2019 10:50:58 +0100 Subject: [PATCH] suspicious build error on travis --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef70bfd2..f731e33f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,10 +41,8 @@ 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 + - if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi + - cmake --build . --config $CONFIG ${ARGS:-} - ctest --output-on-failure after_script: