- # if sonar was not run, run the tests manually
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ctest --output-on-failure --timeout 100 ; fi
+ # if sonar was not run (and if the build succeeded), run the tests manually
+ - if [[ "$TRAVIS_OS_NAME" == "osx" && -e bin/graphicator ]]; then ctest --output-on-failure --timeout 100 ; fi