-
-
Notifications
You must be signed in to change notification settings - Fork 472
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
c6f9036
commit 7c7edf0
Showing
5 changed files
with
36 additions
and
63 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,9 +1,9 @@ | ||
build/ | ||
docs/ | ||
reports/ | ||
|
||
# Node.js | ||
node_modules/ | ||
npm-debug.log | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
||
# Node.js | ||
node_modules | ||
npm-debug.log |
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,23 +1,8 @@ | ||
Makefile | ||
README.md | ||
build/ | ||
docs/ | ||
examples/ | ||
reports/ | ||
support/ | ||
test/ | ||
|
||
# Node.js | ||
.npmignore | ||
node_modules/ | ||
npm-debug.log | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
||
# Git | ||
.git* | ||
|
||
# Utilities | ||
.jshintrc | ||
.travis.yml |
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,25 @@ | ||
language: "node_js" | ||
node_js: | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "3" # io.js | ||
- "2" # io.js | ||
- "1" # io.js | ||
- "0.12" | ||
- "0.10" | ||
- "iojs" | ||
- "0.8" | ||
- "0.6" | ||
|
||
|
||
before_install: | ||
- "npm install istanbul -g" | ||
- "npm install coveralls -g" | ||
- "npm install [email protected] -g" | ||
- "preinstall-compat" | ||
|
||
script: "make ci-travis" | ||
script: | ||
- "make test-cov" | ||
|
||
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,23 @@ | ||
SOURCES ?= lib/*.js lib/**/*.js | ||
TESTS ?= test/*.test.js 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 | ||
|
||
SOURCES = lib/*.js lib/**/*.js | ||
TESTS = test/*.test.js test/**/*.test.js | ||
|
||
# ============================================================================== | ||
# Node.js | ||
# ============================================================================== | ||
include support/mk/node.mk | ||
include support/mk/mocha.mk | ||
include support/mk/istanbul.mk | ||
LCOVFILE = ./reports/coverage/lcov.info | ||
|
||
# ============================================================================== | ||
# Analysis | ||
# ============================================================================== | ||
include support/mk/notes.mk | ||
include support/mk/jshint.mk | ||
|
||
# ============================================================================== | ||
# Reports | ||
# ============================================================================== | ||
include support/mk/coveralls.mk | ||
view-docs: | ||
open ./docs/index.html | ||
|
||
# ============================================================================== | ||
# Continuous Integration | ||
# ============================================================================== | ||
submit-cov-to-coveralls: submit-istanbul-lcov-to-coveralls | ||
view-cov: | ||
open ./reports/coverage/lcov-report/index.html | ||
|
||
# Travis CI | ||
ci-travis: test test-cov | ||
clean: clean-docs clean-cov | ||
-rm -r $(REPORTSDIR) | ||
|
||
# ============================================================================== | ||
# Clean | ||
# ============================================================================== | ||
clean: | ||
rm -rf build | ||
rm -rf reports | ||
clobber: clean | ||
-rm -r node_modules | ||
|
||
clobber: clean clobber-node | ||
|
||
|
||
.PHONY: test test-cov view-cov lint lint-tests submit-cov-to-coveralls ci-travis clean clobber | ||
.PHONY: clean clobber |
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