Skip to content

Commit

Permalink
Update Travis config (jbhannah#137)
Browse files Browse the repository at this point in the history
- Test latest and supported LTS Node versions
- Remove sudo: false (no-op)
- Remove cache (npm cached by default)
- Re-enable email notifications
- Clean up after_script syntax
  • Loading branch information
jbhannah authored Aug 14, 2019
1 parent 0cfaa66 commit 4998fc6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
sudo: false
language: node_js

cache:
directories:
- node_modules

notifications:
email: false

node_js:
- "10"
- '8'
- node
- 10
- 8

before_script:
- npm prune
Expand All @@ -19,7 +12,8 @@ script:
- npm run test-travis

after_script:
- 'npm install coveralls && cat coverage/lcov.info | coveralls'
- npm install -g coveralls
- cat coverage/lcov.info | coveralls

after_success:
- npm run semantic-release
Expand Down

0 comments on commit 4998fc6

Please sign in to comment.