use coveralls

This commit is contained in:
jomo
2014-11-08 02:58:16 +01:00
parent 2de0b0f9be
commit 4d562d70c4
3 changed files with 26 additions and 12 deletions

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
test:
@NODE_ENV=test ./node_modules/.bin/mocha
test-coveralls:
@$(MAKE) test
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@$(MAKE) test REPORTER=mocha-lcov-reporter | ./node_modules/.bin/coveralls
.PHONY: test