[travis] Run make in ctest if on pull request

This commit is contained in:
Matthias Kuhn 2017-08-11 08:38:17 +02:00
parent 24adf77e5d
commit ff3f84b645

View File

@ -33,7 +33,7 @@ export CTEST_BUILD_COMMAND="/usr/bin/make -j3 -i -k"
# when make is run inside ctest no output is generated. At the current time
# nobody know why, but at least this workaround gets travis results for master
# back. Better approaches VERY welcome.
if [[ ${TRAVIS_BRANCH} == "master" ]];
if [[ ${TRAVIS_PULL_REQUEST} == "false" ]];
then
pushd build
$CTEST_BUILD_COMMAND