Skip to content

Commit

Permalink
fix make test-coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Apr 8, 2017
1 parent 027ee50 commit 5da56e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ lint:
@eslint --fix lib index.js test

test: lint
@mocha -t $(TIMEOUT) -R spec $(TESTS)

test-cov:
@nyc --reporter=html --reporter=text mocha -t $(TIMEOUT) -R spec $(TESTS)

test-coveralls:
@nyc mocha -t $(TIMEOUT) -R spec $(TESTS)
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@nyc report --reporter=text-lcov | coveralls

test-all: test test-coveralls

.PHONY: test

0 comments on commit 5da56e4

Please sign in to comment.