mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Some improvements in travis.yml for macOS. Closes #6089.
This commit is contained in:
parent
a7dcf20ed1
commit
c37ff51004
10
.travis.yml
10
.travis.yml
@ -84,10 +84,6 @@ before_install:
|
|||||||
# Qt 5
|
# Qt 5
|
||||||
PATH=/opt/qt55/bin:${PATH}
|
PATH=/opt/qt55/bin:${PATH}
|
||||||
fi
|
fi
|
||||||
- |
|
|
||||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
||||||
qbtconf="$qbtconf --disable-qt-dbus" ;
|
|
||||||
fi
|
|
||||||
|
|
||||||
# print settings
|
# print settings
|
||||||
- echo $lt_branch
|
- echo $lt_branch
|
||||||
@ -176,7 +172,11 @@ script:
|
|||||||
after_success:
|
after_success:
|
||||||
- if [ "$gui" = true ]; then qbt_exe="qbittorrent" ; else qbt_exe="qbittorrent-nox" ; fi
|
- if [ "$gui" = true ]; then qbt_exe="qbittorrent" ; else qbt_exe="qbittorrent-nox" ; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd "$qbt_path/bin" ; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd "$qbt_path/bin" ; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd "$TRAVIS_BUILD_DIR/src/" && macdeployqt "$qbt_exe.app" && cd "$qbt_exe.app/Contents/MacOS" ; fi
|
- |
|
||||||
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||||
|
macdeployqt "$TRAVIS_BUILD_DIR/src/$qbt_exe.app" ;
|
||||||
|
cd "$TRAVIS_BUILD_DIR/src/$qbt_exe.app/Contents/MacOS" ;
|
||||||
|
fi
|
||||||
- ./$qbt_exe --version
|
- ./$qbt_exe --version
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user