diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-25 09:03:39 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-05-25 09:03:39 +0530 |
commit | c2ffdc9b22656d2544bcf21164ec910aa7093616 (patch) | |
tree | 90e2371dd5e822104b47cb5f50bb05e614374d1f /.travis.yml | |
parent | Skip building in the 'script' stage of travis if no changes found. (diff) | |
download | ferdium-app-c2ffdc9b22656d2544bcf21164ec910aa7093616.tar.gz ferdium-app-c2ffdc9b22656d2544bcf21164ec910aa7093616.tar.zst ferdium-app-c2ffdc9b22656d2544bcf21164ec910aa7093616.zip |
Fixing 'unary operator' issue in travis script for non-PR branches.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index aefeedfc7..5435d9b90 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -94,7 +94,7 @@ script: | |||
94 | git push -qu source HEAD:$TRAVIS_BRANCH --no-verify >/dev/null 2>&1 | 94 | git push -qu source HEAD:$TRAVIS_BRANCH --no-verify >/dev/null 2>&1 |
95 | fi | 95 | fi |
96 | travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies || travis_terminate 1 | 96 | travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies || travis_terminate 1 |
97 | elif [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then | 97 | elif [ "$TRAVIS_PULL_REQUEST_BRANCH" != "i18n" ]; then |
98 | travis_retry travis_wait 100 npm run build || travis_terminate 1 | 98 | travis_retry travis_wait 100 npm run build || travis_terminate 1 |
99 | fi | 99 | fi |
100 | fi | 100 | fi |