Skip to content

Commit

Permalink
Add basic Travis CI setup with jshint test.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Feb 15, 2013
1 parent d4f93a2 commit 5a4fc55
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.min.js
!excanvas.min.js
node_modules/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- 0.8
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Flot",
"version": "0.8.0-alpha",
"main": "jquery.flot.js",
"scripts": {
"test": "make test"
},
"devDependencies": {
"jshint": "0.9.1"
}
}

0 comments on commit 5a4fc55

Please sign in to comment.