Skip to content

Commit 9b40f43

Browse files
committed
Add a workaround in the travis script while jscoverage is broken
1 parent a8e8f18 commit 9b40f43

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tools/travis.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
cd "$SCRIPT_DIR/.."
55

6-
node_modules/.bin/jscoverage lib
6+
# FIXME: jscoverage fails to exclude the type definition file, which is breaking coverage.
7+
# Re-enable coverage after https://github.com/fishbar/jscoverage/pull/45 is merged
8+
#node_modules/.bin/jscoverage lib
79

810
# TODO: Only run tests once, and use a custom reporter which outputs both LCOV and text,
911
# for Travis.
1012
node_modules/.bin/mocha test
1113
STATUS=$?
1214

13-
COVERAGE=1 node_modules/.bin/mocha -R mocha-lcov-reporter test > .lcov
15+
#COVERAGE=1 node_modules/.bin/mocha -R mocha-lcov-reporter test > .lcov
1416

15-
cat .lcov | node_modules/.bin/coveralls
17+
#cat .lcov | node_modules/.bin/coveralls
1618

1719
exit $STATUS

0 commit comments

Comments
 (0)