Skip to content

Commit

Permalink
build: fix running Node.js 0.8 tests on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jul 31, 2015
1 parent 2dfd872 commit 564c117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -13,7 +13,7 @@ before_install:
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
script:
# Run test script, depending on istanbul install
- "test -n $(npm -ps ls istanbul) || npm test"
- "test -z $(npm -ps ls istanbul) || npm run-script test-travis"
- "test ! -z $(npm -ps ls istanbul) || npm test"
- "test -z $(npm -ps ls istanbul) || npm run-script test-travis"
after_script:
- "test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

0 comments on commit 564c117

Please sign in to comment.