aboutsummaryrefslogtreecommitdiff
path: root/tests/travis/build-and-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/travis/build-and-test')
-rwxr-xr-xtests/travis/build-and-test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/travis/build-and-test b/tests/travis/build-and-test
index b1efbd9a..dd5bf378 100755
--- a/tests/travis/build-and-test
+++ b/tests/travis/build-and-test
@@ -15,6 +15,11 @@ case "$CONFIG" in
;;
esac
+# pick up cmake files from homebrew
+if [ "$(uname -s)" = "Darwin" ]; then
+ CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5"
+fi
+
# build with code coverage
if [ "$CONFIG" = "full-debug" ]; then
export CXXFLAGS="-fprofile-arcs -ftest-coverage"