Skip to content

Commit

Permalink
Fix Travis by only running tests on older Node
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 17, 2018
1 parent 4c23c9e commit d65f068
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ language: node_js
node_js:
- '6.0'
- '9.0'
after_success: bash <(curl -s https://codecov.io/bash)
script:
- "if [ \"$TRAVIS_NODE_VERSION\" != \"9.0\" ]; then npm run test-api; fi"
- "if [ \"$TRAVIS_NODE_VERSION\" = \"9.0\" ]; then npm run test && bash <(curl -s https://codecov.io/bash); fi"
sudo: false
deploy:
- provider: releases
Expand Down

0 comments on commit d65f068

Please sign in to comment.