1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(ci): quote shell comparison to avoid errors when unset

Avoids log of "/home/travis/.travis/functions: line 109: test: ==: unary
operator expected" in travisci build output
This commit is contained in:
Anthony Bilinski 2020-02-21 22:57:58 -08:00
parent 5b31effdb4
commit 475128d171
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -271,12 +271,12 @@ deploy:
after_success:
- >
test $TRAVIS_PULL_REQUEST == "false"
&& test $TRAVIS_BRANCH == "master"
&& test $JOB == "build-docs"
test "$TRAVIS_PULL_REQUEST" == "false"
&& test "$TRAVIS_BRANCH" == "master"
&& test "$JOB" == "build-docs"
&& bash ./.travis/deploy-docs.sh
- >
test $TRAVIS_PULL_REQUEST == "false"
&& test $TRAVIS_BRANCH == "master"
&& test $JOB == "build-gitstats"
test "$TRAVIS_PULL_REQUEST" == "false"
&& test "$TRAVIS_BRANCH" == "master"
&& test "$JOB" == "build-gitstats"
&& bash ./.travis/deploy-gitstats.sh