We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2c98e commit df5e8e3Copy full SHA for df5e8e3
.travis.yml
@@ -7,5 +7,12 @@ node_js:
7
- "1.8"
8
- "2.0"
9
sudo: false
10
-script: "npm run-script test-travis"
11
-after_script: "npm install [email protected] && cat ./coverage/lcov.info | coveralls"
+before_install:
+ # Setup Node.js version-specific dependencies
12
+ - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
13
+script:
14
+ # Run test script, depending on istanbul install
15
+ - "test -n $(npm -ps ls istanbul) || npm test"
16
+ - "test -z $(npm -ps ls istanbul) || npm run-script test-travis"
17
+after_script:
18
+ - "test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
0 commit comments