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:
parent
5b31effdb4
commit
475128d171
12
.travis.yml
12
.travis.yml
@ -271,12 +271,12 @@ deploy:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- >
|
- >
|
||||||
test $TRAVIS_PULL_REQUEST == "false"
|
test "$TRAVIS_PULL_REQUEST" == "false"
|
||||||
&& test $TRAVIS_BRANCH == "master"
|
&& test "$TRAVIS_BRANCH" == "master"
|
||||||
&& test $JOB == "build-docs"
|
&& test "$JOB" == "build-docs"
|
||||||
&& bash ./.travis/deploy-docs.sh
|
&& bash ./.travis/deploy-docs.sh
|
||||||
- >
|
- >
|
||||||
test $TRAVIS_PULL_REQUEST == "false"
|
test "$TRAVIS_PULL_REQUEST" == "false"
|
||||||
&& test $TRAVIS_BRANCH == "master"
|
&& test "$TRAVIS_BRANCH" == "master"
|
||||||
&& test $JOB == "build-gitstats"
|
&& test "$JOB" == "build-gitstats"
|
||||||
&& bash ./.travis/deploy-gitstats.sh
|
&& bash ./.travis/deploy-gitstats.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user