Put MemCheck and Submit to "after_script" section to ignore possible failures
This commit is contained in:
parent
30e5ac7004
commit
7d6f87cb8a
2 changed files with 16 additions and 12 deletions
|
@ -23,12 +23,6 @@ script:
|
|||
- ctest -D ExperimentalConfigure
|
||||
- ctest -D ExperimentalBuild -VV
|
||||
- yes "C" | ctest -D ExperimentalTest -VV
|
||||
- if [[ $MEMCHECK == TRUE ]]; then
|
||||
ctest -D ExperimentalMemCheck;
|
||||
fi
|
||||
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
|
||||
ctest -D ExperimentalSubmit;
|
||||
fi
|
||||
- cd ..
|
||||
|
||||
after_script:
|
||||
|
@ -39,6 +33,14 @@ after_script:
|
|||
cp build/shell/lean ${UPLOAD_DIR}/${BINARY};
|
||||
script/dropbox_upload.py ${UPLOAD_DIR} /Public/${UPLOAD_DIR} ${DROPBOX_KEY};
|
||||
fi
|
||||
- cd build
|
||||
- if [[ $MEMCHECK == TRUE ]]; then
|
||||
ctest -D ExperimentalMemCheck -VV;
|
||||
fi
|
||||
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
|
||||
ctest -D ExperimentalSubmit;
|
||||
fi
|
||||
- cd ..
|
||||
|
||||
install:
|
||||
- if [[ $CMAKE_CXX_COMPILER == g++ ]]; then
|
||||
|
|
14
.travis.yml
14
.travis.yml
|
@ -94,12 +94,6 @@ script:
|
|||
- if [[ $CMAKE_BUILD_TYPE == TESTCOV ]]; then
|
||||
ctest -D ExperimentalCoverage;
|
||||
fi
|
||||
- if [[ $MEMCHECK == TRUE ]]; then
|
||||
ctest -D ExperimentalMemCheck;
|
||||
fi
|
||||
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
|
||||
ctest -D ExperimentalSubmit;
|
||||
fi
|
||||
- cd ..
|
||||
after_script:
|
||||
- if [[ $TRIGGER_BB == TRUE ]]; then
|
||||
|
@ -129,6 +123,14 @@ after_script:
|
|||
mv /tmp/.travis.temp.yml .travis.yml;
|
||||
git reset --hard HEAD~;
|
||||
fi
|
||||
- cd build
|
||||
- if [[ $MEMCHECK == TRUE ]]; then
|
||||
ctest -D ExperimentalMemCheck;
|
||||
fi
|
||||
- if [[ $PUSH_TO_CDASH == TRUE ]]; then
|
||||
ctest -D ExperimentalSubmit;
|
||||
fi
|
||||
- cd ..
|
||||
- if [[ $BUILD_DOXYGEN == TRUE ]]; then
|
||||
sudo apt-get -qq install doxygen;
|
||||
script/doxygen.sh;
|
||||
|
|
Loading…
Reference in a new issue