diff --git a/.travis.yml b/.travis.yml index fa657d16d7..30cde88e5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,9 @@ sudo: false notifications: email: false -jobs: - include: - - stage: build - script: npm install - script: npm run build - script: npm run test - - stage: codeowners - script: npm run update-codeowners -stages: - - name: codeowners - if: env(TRAVIS_EVENT_TYPE) = cron \ No newline at end of file +script: + - npm install + - npm run build + - npm run test + - if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; then npm run update-codeowners || travis_terminate + 1; fi \ No newline at end of file