From bbae4570e0d3b0642ef1bd6712a4c9444cd257b0 Mon Sep 17 00:00:00 2001 From: Benjamin Wheeler Date: Tue, 28 Jan 2020 11:12:18 -0500 Subject: [PATCH] Revert "Revert "attempt to get travis cron job to only run translations"" --- .travis.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e462cd16..0534c56ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -135,13 +135,12 @@ jobs: - master - stage: smoke script: npm run test:integration:remote + - stage: update translations + script: npm run i18n:push stages: - test + if: type != cron - name: smoke - if: type != pull_request -- provider: script - on: - branch: develop - condition: $TRAVIS_EVENT_TYPE == cron - skip_cleanup: true - script: npm run i18n:push + if: type NOT IN (cron, pull_request) +- name: update translations + if: branch == develop AND type == cron