diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,10 @@ REPORTER = spec test: - $(MAKE) lint - echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID) + @$(MAKE) lint + @echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID) + @$(MAKE) core_test + +core_test: @NODE_ENV=test ./node_modules/.bin/mocha -b --require blanket --reporter $(REPORTER) lint: @@ -9,11 +12,11 @@ lint: test-cov: $(MAKE) test REPORTER=spec - $(MAKE) test REPORTER=html-cov 1> coverage.html + $(MAKE) core_test REPORTER=html-cov > coverage.html test-coveralls: $(MAKE) test REPORTER=spec - $(MAKE) test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose + $(MAKE) core_test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose rm -rf lib-cov .PHONY: test |
