diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-21 20:08:26 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-21 20:08:26 +0900 |
commit | 3fc58ced0f65acae4696946a29ccda832263b4c2 (patch) | |
tree | 5900941d72d7f83cb21b11049b074b344d105ee3 | |
parent | 16d176e93ca4a2e3db5ea8d6ff0155bfe47c9067 (diff) | |
download | libquotient-3fc58ced0f65acae4696946a29ccda832263b4c2.tar.gz libquotient-3fc58ced0f65acae4696946a29ccda832263b4c2.zip |
Fix Travis failing to build PRs
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index cbf1cfd9..3018d987 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ script: - cd .. - qmake qmc-example.pro "CONFIG += debug" "CONFIG -= app_bundle" "QMAKE_CC = $CC" "QMAKE_CXX = $CXX" - make all -- $VALGRIND ./qmc-example "$QMC_TEST_USER" "$QMC_TEST_PWD" qmc-example-travis '#qmc-test:matrix.org' "Travis CI job $TRAVIS_JOB_NUMBER" +- if [ "$QMC_TEST_USER" != "" ]; then $VALGRIND ./qmc-example "$QMC_TEST_USER" "$QMC_TEST_PWD" qmc-example-travis '#qmc-test:matrix.org' "Travis CI job $TRAVIS_JOB_NUMBER"; fi notifications: webhooks: |