Skip to content

Commit 09c9ca8

Browse files
committedSep 4, 2015
Added jscoverage updated travis.yml
1 parent e8c0ae8 commit 09c9ca8

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed
 

‎.travis.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ language: node_js
22
node_js:
33
- "0.12"
44
- "0.11"
5-
install:
6-
- npm install
7-
before_script:
8-
- git config user.name "Travis CI"
9-
- grunt &
10-
- sleep 5 # give grunt background task some time to execute.
11-
script:
12-
- npm run coveralls
5+
after_success:
6+
- ./node_modules/.bin/jscoverage lib lib-cov
7+
- ./node_modules/.bin/mocha test/**.js -R mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"grunt-contrib-copy": "0.8.x",
5353
"grunt-contrib-jshint": "0.11.x",
5454
"grunt-contrib-watch": "0.6.x",
55+
"jscoverage":"0.6.x",
5556
"coveralls": "2.11.x",
5657
"mocha-lcov-reporter": "0.0.x"
5758
},

0 commit comments

Comments
 (0)