Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit 9fce220

Browse files
authored
Merge pull request #34 from SqueezerIO/v1.1.13
V1.1.13 - added istanbul
2 parents dd8a326 + 5ab40ad commit 9fce220

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ test.js
1717
docs/_book
1818
docs/README.md
1919
docs/docs
20+
21+
# coverage
22+
23+
coverage/
24+
lib-cov/
25+
coverage.json

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ notifications:
3030
on_success: change
3131
on_failure: always
3232
on_start: never
33+
34+
after_success:
35+
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ NOTE: **Windows** users should [enable symlinks](http://answers.perforce.com/art
110110

111111
### Contributing
112112

113-
See [contributing.md](CONTRIBUTING.md) for contribution guidelines
113+
See [contributing.md](CONTRIBUTING.md) for contribution guidelines .

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"url": "https://github.com/SqueezerIO/squeezer.git"
4848
},
4949
"scripts": {
50-
"test-units": "mocha ./test/units-runner.js",
50+
"test-units": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha test/units-runner.js --report lcovonly -- -R spec",
5151
"test-integration": "docker rm squeezer-test >/dev/null 2>/dev/null ; docker run -ti --privileged --name squeezer-test -v `pwd`:/app -v $HOME/.aws:/root/.aws squeezerio/test node /app/node_modules/.bin/mocha /app/test/integration-runner.js --timeout 3600000",
5252
"eslint": "eslint . --cache",
5353
"jsinspect": "jsinspect -t 30 -i ./bin/ ./lib/ ./test/ --ignore './lib/plugins/serve/public'",
@@ -98,8 +98,10 @@
9898
"eslint-plugin-jsx-a11y": "^3.0.2",
9999
"eslint-plugin-react": "^6.10.0",
100100
"gulp-documentation": "^3.2.0",
101+
"istanbul": "^0.4.5",
101102
"jsinspect": "^0.8.0",
102103
"mocha": "^3.0.2",
104+
"mocha-lcov-reporter": "^1.3.0",
103105
"mocha.parallel": "^0.15.2",
104106
"shelltest": "^2.0.0",
105107
"stripcolorcodes": "^0.1.0",

0 commit comments

Comments
 (0)