Travis coveralls fix

This commit is contained in:
Sean Lilley 2017-04-04 11:24:39 -04:00
parent be07ab0ce1
commit 74c91320a5

View File

@ -9,4 +9,4 @@ script:
after_success: after_success:
## We only need to run coveralls for one node version (doesn't matter which one). ## We only need to run coveralls for one node version (doesn't matter which one).
## We also ignore publishing failures, since restarting an existing travis build would otherwise break. ## We also ignore publishing failures, since restarting an existing travis build would otherwise break.
- if [$(node --version) == v6*]; then npm run coverage && npm run coveralls; fi - if node --version | grep -q ^v6 ; npm run coverage && npm run coveralls; fi