Revert "Revert "attempt to get travis cron job to only run translations""

This commit is contained in:
Benjamin Wheeler 2020-01-28 11:12:18 -05:00 committed by GitHub
parent 1e48a9cb4a
commit bbae4570e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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