Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (18 sloc) 0.602 kB
091194e @derekcollison enable lint checking
derekcollison authored
1
2 lint:
3 ./node_modules/.bin/jshint ./test ./index.js ./lib/nats.js
4
06abf29 @derekcollison Initial commit
derekcollison authored
5 test:
d185ce4 @derekcollison Call mocha direct
derekcollison authored
6 @NODE_ENV=test ./node_modules/.bin/mocha -c\
06abf29 @derekcollison Initial commit
derekcollison authored
7 --reporter list \
b65e154 @derekcollison Updates to fix coveralls
derekcollison authored
8 --slow 750 \
d8c8788 @derekcollison prep work for travis+coveralls
derekcollison authored
9 --timeout 10000
10
11 test-cov:
12 @NODE_ENV=test ./node_modules/.bin/istanbul cover \
b65e154 @derekcollison Updates to fix coveralls
derekcollison authored
13 ./node_modules/mocha/bin/mocha -- -R spec --slow 750
d8c8788 @derekcollison prep work for travis+coveralls
derekcollison authored
14
15 test-coveralls:
16 echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
17 $(MAKE) lint
18 $(MAKE) test
19 @NODE_ENV=test ./node_modules/.bin/istanbul cover \
b65e154 @derekcollison Updates to fix coveralls
derekcollison authored
20 ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --slow 750 && \
d8c8788 @derekcollison prep work for travis+coveralls
derekcollison authored
21 cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true
06abf29 @derekcollison Initial commit
derekcollison authored
22
23 .PHONY: test
24
Something went wrong with that request. Please try again.