split travis testing into lint, tap, build tasks

This commit is contained in:
Michael "Z" Goddard 2018-06-08 11:18:22 -04:00
parent 26e972a62d
commit f6d5353e83
No known key found for this signature in database
GPG key ID: 762CD40DD5349872

View file

@ -2,9 +2,19 @@ language: node_js
node_js:
- 6
- node
env:
matrix:
- NPM_SCRIPT="tap -- --jobs=4"
cache:
directories:
- node_modules
script: npm run $NPM_SCRIPT
jobs:
include:
- env: NPM_SCRIPT=build
node_js: node
- env: NPM_SCRIPT=lint
node_js: node
after_script:
- |
# RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel