Debian Codegraph @

Makefile

raw
1 REPORTER = spec
2 test:
3 @NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER) --check-leaks
4
5 lint:
6 ./node_modules/.bin/jshint ./test ./index.js
7
8 test-cov:
9 $(MAKE) lint
10 @NODE_ENV=test ./node_modules/.bin/istanbul cover \
11 ./node_modules/mocha/bin/_mocha -- -R spec --check-leaks
12
13 test-codecov:
14 echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
15 $(MAKE) test
16 @NODE_ENV=test ./node_modules/.bin/istanbul cover \
17 ./node_modules/mocha/bin/_mocha --check-leaks --report lcovonly -- -R spec && \
18 cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
19
20 .PHONY: test