Added travis-ci config

This commit is contained in:
Vitaly Puzrin 2014-02-03 23:03:05 +04:00
parent 2a73de5f69
commit ae49f96738
3 changed files with 16 additions and 2 deletions

5
.travis.yml Normal file
View file

@ -0,0 +1,5 @@
language: node_js
node_js:
- "0.10"
before_script: "make dev-deps"
script: "make test"

View file

@ -46,6 +46,16 @@ doc:
ndoc --link-format "{package.homepage}/blob/${CURR_HEAD}/{file}#L{line}"
dev-deps:
@if test ! `which npm` ; then \
echo "You need 'npm' installed." >&2 ; \
echo " See: http://npmjs.org/" >&2 ; \
exit 128 ; \
fi
npm install -g jshint
npm install
gh-pages:
@if test -z ${REMOTE_REPO} ; then \
echo 'Remote repo URL not found' >&2 ; \

View file

@ -17,7 +17,6 @@
"devDependencies" : {
"mocha": "*",
"benchmark": "*",
"ansi": "*",
"zlibjs": "*"
"ansi": "*"
}
}