fix: travis

This commit is contained in:
harttle
2018-08-27 23:49:11 +08:00
parent 5378f2709b
commit c3c57a560b
9 changed files with 55 additions and 60 deletions
+4 -2
View File
@@ -2,10 +2,12 @@ language: node_js
node_js:
- "8"
- "6"
- "4"
- "0.12"
before_script:
- npm install -g mocha
after_script:
- npm run test
- if [[ $(echo "$TRAVIS_NODE_VERSION >= 6" | bc -l) ]]; then npm run test; fi
- npm run e2e
after_success:
- npm run coveralls
- if [[ $(echo "$TRAVIS_NODE_VERSION >= 6" | bc -l) ]]; then npm run coveralls; fi