Skip to content

Commit e970322

Browse files
committed
Test: Run coveralls when nodejs >= 6 because of its supports
1 parent 063e534 commit e970322

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ node_js:
1717
- '0.12'
1818
- '0.10'
1919

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

2225
os:
2326
- linux

0 commit comments

Comments
 (0)