diff --git a/.travis.yml b/.travis.yml index e07bb015..ef70bfd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,9 @@ before_script: - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date script: - - [[ -n "$TESTS_CXX_STD" ]] && ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD" + - if [[ -n "$TESTS_CXX_STD" ]]; then + ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD" + fi - cmake --build . --config $CONFIG $ARGS - ctest --output-on-failure