Created
July 5, 2018 23:44
-
-
Save andykais/146de7b6c81731c2fbc17a63a9fcbe96 to your computer and use it in GitHub Desktop.
travis config to test against multiple node versions but lint only once
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: node_js | |
stages: | |
- test | |
- lint | |
cache: | |
directories: | |
- $HOME/.npm | |
jobs: | |
include: | |
- stage: test | |
node_js: "10" | |
script: npm run test:unit | |
- stage: test | |
node_js: "9" | |
script: npm run test:unit | |
- stage: test | |
node_js: "8" | |
script: npm run test:unit | |
- stage: lint | |
node_js: "10" | |
script: npm run lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment