From 6a5f2760b9f757ab4bf372ff9caa392ba182a689 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 7 Mar 2019 07:13:10 -0800 Subject: [PATCH] Try travis code from Wesley --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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