-
-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55e651c
commit 01adb88
Showing
9 changed files
with
29 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,30 @@ | ||
language: "node_js" | ||
node_js: | ||
- "11" | ||
- "10" | ||
- "9" | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "3" # io.js | ||
- "2" # io.js | ||
- "1" # io.js | ||
- "0.12" | ||
- "0.10" | ||
- "iojs" | ||
- "0.8" | ||
|
||
|
||
# NOTE: `istanbul` and `coveralls` are pinned for compatibility with node 0.8. | ||
before_install: | ||
- "npm install istanbul -g" | ||
- "npm install coveralls -g" | ||
- "npm install -g istanbul@0.2.2" | ||
- "npm install -g coveralls@2.11.4" | ||
|
||
script: "make ci-travis" | ||
script: | ||
- "make check" | ||
|
||
after_success: | ||
- "make submit-cov-to-coveralls" | ||
- "make report-cov" | ||
|
||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,7 @@ | ||
SOURCES ?= lib/*.js | ||
TESTS ?= test/*.test.js | ||
include node_modules/make-node/main.mk | ||
|
||
test: test-mocha | ||
test-cov: test-istanbul-mocha | ||
view-cov: view-istanbul-report | ||
lint: lint-jshint | ||
lint-tests: lint-tests-jshint | ||
MOCHAFLAGS = --require ./test/bootstrap/node | ||
|
||
|
||
# ============================================================================== | ||
# Node.js | ||
# ============================================================================== | ||
include support/mk/node.mk | ||
include support/mk/mocha.mk | ||
include support/mk/istanbul.mk | ||
|
||
# ============================================================================== | ||
# Analysis | ||
# ============================================================================== | ||
include support/mk/notes.mk | ||
include support/mk/jshint.mk | ||
|
||
# ============================================================================== | ||
# Reports | ||
# ============================================================================== | ||
include support/mk/coveralls.mk | ||
|
||
# ============================================================================== | ||
# Continuous Integration | ||
# ============================================================================== | ||
submit-cov-to-coveralls: submit-istanbul-lcov-to-coveralls | ||
|
||
# Travis CI | ||
ci-travis: test test-cov | ||
|
||
# ============================================================================== | ||
# Clean | ||
# ============================================================================== | ||
clean: | ||
rm -rf build | ||
rm -rf reports | ||
|
||
clobber: clean clobber-node | ||
|
||
|
||
.PHONY: test test-cov view-cov lint lint-tests submit-cov-to-coveralls ci-travis clean clobber | ||
# Perform self-tests. | ||
check: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.