From e6e9d0cb42e688ed716b3ffaeb9b3e5334cfb260 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 10 May 2021 19:59:53 +0530 Subject: Skip travis build if the PR is for i18n translations. --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index fe026fdfe..b87e47c02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,10 +78,7 @@ script: git push -qu nightly HEAD:nightly >/dev/null 2>&1 fi else - if [[ $TRAVIS_COMMIT_MESSAGE =~ "New translations" ]]; then - echo "Skipping travis build" - travis_terminate 0 - else + if [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then travis_retry travis_wait 100 npm run build || travis_terminate 1 fi fi -- cgit v1.2.3-54-g00ecf