mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 08:01:51 +08:00
Fix2 osx qt5 package on travis
This commit is contained in:
parent
db4483b32b
commit
68dae5b589
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user