Skip to content

Commit 564c117

Browse files
committed
build: fix running Node.js 0.8 tests on Travis CI
1 parent 2dfd872 commit 564c117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ before_install:
1313
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
1414
script:
1515
# Run test script, depending on istanbul install
16-
- "test -n $(npm -ps ls istanbul) || npm test"
17-
- "test -z $(npm -ps ls istanbul) || npm run-script test-travis"
16+
- "test ! -z $(npm -ps ls istanbul) || npm test"
17+
- "test -z $(npm -ps ls istanbul) || npm run-script test-travis"
1818
after_script:
1919
- "test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

0 commit comments

Comments
 (0)