aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-21 20:08:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-21 20:08:26 +0900
commit3fc58ced0f65acae4696946a29ccda832263b4c2 (patch)
tree5900941d72d7f83cb21b11049b074b344d105ee3
parent16d176e93ca4a2e3db5ea8d6ff0155bfe47c9067 (diff)
downloadlibquotient-3fc58ced0f65acae4696946a29ccda832263b4c2.tar.gz
libquotient-3fc58ced0f65acae4696946a29ccda832263b4c2.zip
Fix Travis failing to build PRs
-rw-r--r--.travis.yml2
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: