0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

avoid expanding empty variables

This commit is contained in:
Daniel Evers 2019-01-28 11:00:08 +01:00 committed by Roland Bock
parent a9f5498452
commit 949089d9f3

View File

@ -41,8 +41,9 @@ before_script:
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date - cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date
script: script:
- if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi - ARGS="--config $CONFIG"
- cmake --build . --config $CONFIG ${ARGS:-} - if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="$ARGS -DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi
- cmake --build . $ARGS
- ctest --output-on-failure - ctest --output-on-failure
after_script: after_script: