From c37ff510044eaaf4dff0cceb8d67f8ced0fbb48a Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 8 Mar 2017 00:50:11 +0200 Subject: [PATCH] Some improvements in travis.yml for macOS. Closes #6089. --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e1c711f18..e7d82f4f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,10 +84,6 @@ before_install: # Qt 5 PATH=/opt/qt55/bin:${PATH} fi - - | - if [ "$TRAVIS_OS_NAME" = "osx" ]; then - qbtconf="$qbtconf --disable-qt-dbus" ; - fi # print settings - echo $lt_branch @@ -176,7 +172,11 @@ script: after_success: - 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" = "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 after_script: