Skip to content

Commit eff8946

Browse files
committed
Update travis script
1 parent 3098829 commit eff8946

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tools/travis.sh

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

6-
export COVERAGE=1
7-
86
node_modules/.bin/jscoverage lib
97

108
# TODO: Only run tests once, and use a custom reporter which outputs both LCOV and text,
119
# for Travis.
1210
node_modules/.bin/mocha test
1311
STATUS=$?
1412

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

1715
cat .lcov | node_modules/.bin/coveralls
1816

0 commit comments

Comments
 (0)