travis improvments
This commit is contained in:
parent
da30e2ef18
commit
d951ea32a6
22
.travis.yml
22
.travis.yml
@ -76,12 +76,6 @@ matrix:
|
|||||||
before_install:
|
before_install:
|
||||||
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
|
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
|
||||||
- if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
|
- if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
|
||||||
- which $CXX
|
|
||||||
- which $CC
|
|
||||||
- which valgrind
|
|
||||||
- $CXX --version
|
|
||||||
- cmake --version
|
|
||||||
- valgrind --version
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- cd ${TRAVIS_BUILD_DIR}
|
- cd ${TRAVIS_BUILD_DIR}
|
||||||
@ -92,12 +86,20 @@ install:
|
|||||||
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
|
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
|
||||||
-DCMAKE_CXX_STANDARD=$CPP \
|
-DCMAKE_CXX_STANDARD=$CPP \
|
||||||
-DSPDLOG_BUILD_EXAMPLES=ON \
|
-DSPDLOG_BUILD_EXAMPLES=ON \
|
||||||
|
-DSPDLOG_BUILD_BENCH=OFF \
|
||||||
-DSPDLOG_SANITIZE_ADDRESS=$ASAN
|
-DSPDLOG_SANITIZE_ADDRESS=$ASAN
|
||||||
- make VERBOSE=1-j2
|
- make VERBOSE=1 -j2
|
||||||
|
|
||||||
script:
|
before_script:
|
||||||
- if [ "$ASAN" != "On" ]; then CTEST_FLAGS="-DExperimentalMemCheck"; fi
|
- which $CXX
|
||||||
- ctest -j2 -VV $CTEST_FLAGS
|
- which $CC
|
||||||
|
- which valgrind
|
||||||
|
- $CXX --version
|
||||||
|
- cmake --version
|
||||||
|
- valgrind --version
|
||||||
|
|
||||||
|
script:
|
||||||
|
- ctest -j2 --output-on-failure
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
Loading…
Reference in New Issue
Block a user