Try travis code from Wesley

This commit is contained in:
Nathan Shively-Sanders
2019-03-07 07:13:10 -08:00
parent 2da2b7f857
commit 6a5f2760b9
+6 -11
View File
@@ -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
script:
- npm install
- npm run build
- npm run test
- if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; then npm run update-codeowners || travis_terminate
1; fi