Skip to content

Commit

Permalink
Update travis for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvndre committed Nov 14, 2017
1 parent b44fb7f commit 08a060c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ before_script:
- cp ./.env.dist ./.env
script:
- ./node_modules/.bin/bithound check git@github.com:alexvndre/expressjs-starter-pack.git
- make test-coveralls
- make test-coverage
after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test-coverage: ## launch tests with coverage
@$(MAKE) -s build
@export PORT=0 && \
export NODE_ENV=test && \
$(BABEL_NODE) $(BABEL_ISTANBUL) cover $(MOCHA_) --report html --report text --check-coverage -- --recursive --exit
$(BABEL_NODE) $(BABEL_ISTANBUL) cover $(MOCHA_) --report html --report lcovonly --report text --check-coverage -- --recursive --exit

test-coveralls: ## launch tests with coverage and send to coveralls
@export PORT=0 && \
Expand Down

0 comments on commit 08a060c

Please sign in to comment.