mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Remove brew from macosx travis.
This commit is contained in:
parent
1d1ce833c3
commit
de6aab846e
@ -5,21 +5,6 @@ git fetch --tags
|
||||
if test "$TRAVIS_OS_NAME" = "osx"; then
|
||||
# Mac OS X.
|
||||
pip3 install aqtinstall
|
||||
|
||||
# Install Qt.
|
||||
QTPATH="$(pwd)/Qt"
|
||||
QTVERSION="5.15.2"
|
||||
QTBIN="$QTPATH/$QTVERSION/clang_64/bin"
|
||||
|
||||
echo "Qt bin directory is: $QTBIN"
|
||||
echo "Qt will be installed to: $QTPATH"
|
||||
|
||||
aqt install -O "$QTPATH" 5.15.2 mac desktop clang_64 -m qtwebengine
|
||||
|
||||
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/clang_64/plugins"
|
||||
export PATH="$QTBIN:$PATH"
|
||||
|
||||
qmake --version
|
||||
elif test "$TRAVIS_OS_NAME" = "linux"; then
|
||||
# Linux.
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
|
@ -1,5 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install Qt. This needs to be done here, because some
|
||||
# variables need to be set.
|
||||
QTPATH="$(pwd)/Qt"
|
||||
QTVERSION="5.15.2"
|
||||
QTBIN="$QTPATH/$QTVERSION/clang_64/bin"
|
||||
|
||||
echo "Qt bin directory is: $QTBIN"
|
||||
echo "Qt will be installed to: $QTPATH"
|
||||
|
||||
aqt install -O "$QTPATH" 5.15.2 mac desktop clang_64 -m qtwebengine
|
||||
|
||||
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/clang_64/plugins"
|
||||
export PATH="$QTBIN:$PATH"
|
||||
|
||||
qmake --version
|
||||
|
||||
# Build application.
|
||||
mkdir rssguard-build && cd rssguard-build
|
||||
qmake .. "USE_WEBENGINE=$USE_WEBENGINE"
|
||||
|
Loading…
Reference in New Issue
Block a user