From bb398c4a086abea2efbbcc836ef2e6040766a9e5 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 12 Oct 2017 23:51:48 +0300 Subject: [PATCH] travis: Dont try to upload appiamges if UPLOAD_URL is missing --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f218184bf7..6bc1f73b3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ before_script: - cmake .. -DCMAKE_INSTALL_PREFIX=/usr; - make -j 3 - # AppImage generation - - if [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang-4.0" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then + - if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang-4.0" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then export LD_LIBRARY_PATH=~/Qt/5.9.1/gcc_64/lib; make DESTDIR=appdir install ; find appdir/ ; find ../bin ;