Merge pull request #961 from brianpeiris/master

Add basic Travis CI setup with test script that runs JSHint.
pull/1/head
David Schnur 13 years ago
commit 2cd4f8b900

1
.gitignore vendored

@ -1,2 +1,3 @@
*.min.js
!excanvas.min.js
node_modules/

@ -0,0 +1,3 @@
language: node_js
node_js:
- 0.8

@ -7,3 +7,6 @@ all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js)))
%.min.js: %.js
yui-compressor $< -o $@
test:
./node_modules/.bin/jshint *jquery.flot.js

@ -1,3 +1,5 @@
# Flot [![Build status](https://travis-ci.org/flot/flot.png)](https://travis-ci.org/flot/flot)
## About ##
Flot is a Javascript plotting library for jQuery.

@ -0,0 +1,11 @@
{
"name": "Flot",
"version": "0.8.0-alpha",
"main": "jquery.flot.js",
"scripts": {
"test": "make test"
},
"devDependencies": {
"jshint": "0.9.1"
}
}
Loading…
Cancel
Save