Skip to content

Commit

Permalink
fix: update travis yml and fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutEspresso committed Aug 15, 2019
1 parent 1f5bc05 commit 96da7ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cache:
npm: false
language: node_js
node_js:
- "6"
- "lts/*" # Active LTS release
- "node" # Latest stable release
- "lts/*" # Active LTS release
- "node" # Latest stable release
before_install: 'make clean'
install: 'make'
script: 'make coverage'
after_success: 'make report-coverage'
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ coverage: $(NODE_MODULES) $(NYC) ## Run unit tests with coverage reporting. Gene

.PHONY: report-coverage ## Report unit test coverage to coveralls
report-coverage: $(NODE_MODULES) $(NYC) ## Run unit tests with coverage reporting. Generates reports into /coverage.
@$(NYC) report --reporter=text-lcov make test | $(COVERALLS)
@$(NYC) report --reporter=text-lcov | $(COVERALLS)


.PHONY: clean
Expand Down

0 comments on commit 96da7ce

Please sign in to comment.