Skip to content

Commit

Permalink
Test: Run coveralls when nodejs >= 6 because of its supports
Browse files Browse the repository at this point in the history
  • Loading branch information
sttk committed Sep 21, 2020
1 parent 063e534 commit e970322
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ node_js:
- '0.12'
- '0.10'

after_success: 'npm run coveralls'
after_success:
- if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -ge 6 ]; then
npm run coveralls;
fi

os:
- linux
Expand Down

0 comments on commit e970322

Please sign in to comment.