From 68dae5b589275341cd0c0be9f1caa452a353e70b Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Mon, 19 Jun 2017 00:14:35 +0300 Subject: [PATCH] Fix2 osx qt5 package on travis --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e284189..47ab770 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,8 @@ script: - if [ "$TRAVIS_OS_NAME" = "linux" ]; then source /opt/qt55/bin/qt55-env.sh; qmake -v; + else + export PATH=/usr/local/opt/qt/bin:$PATH; fi - cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3 after_success: @@ -58,10 +60,15 @@ install: else brew install qt5; brew link --force qt5; - brew linkapps qt5; export HOMEBREW_QT5_VERSION=$(brew list --versions qt5 | rev | cut -d' ' -f1 | rev); ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs; ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins; + echo "ls -l /usr/local/mkspecs"; + ls -l /usr/local/mkspecs; + echo "ls -l /usr/local/plugins"; + ls -l /usr/local/plugins; + echo "/usr/local/Cellar/qt5/"; + ls -l /usr/local/Cellar/qt5/; fi