mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
Added travis-ci config
This commit is contained in:
parent
2a73de5f69
commit
ae49f96738
3 changed files with 16 additions and 2 deletions
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
before_script: "make dev-deps"
|
||||
script: "make test"
|
10
Makefile
10
Makefile
|
@ -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 ; \
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
"devDependencies" : {
|
||||
"mocha": "*",
|
||||
"benchmark": "*",
|
||||
"ansi": "*",
|
||||
"zlibjs": "*"
|
||||
"ansi": "*"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue