Skip to content

Commit

Permalink
run lint on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Mar 19, 2015
1 parent 5b6d86e commit db8a39b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ node_js:

before_install: npm install -g grunt-cli

script: grunt travis && ./scripts/post-coverage.sh
script: grunt travis && ./scripts/lint.sh && ./scripts/post-coverage.sh
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"type": "git",
"url": "https://github.com/danvk/pileup.js.git"
},
"scripts": {
"lint": "./scripts/lint.sh",
"test": "grunt test"
},
"author": "Dan Vanderkam",
"license": "Apache2",
"bugs": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
./node_modules/.bin/jsxhint --es6module --harmony 'src/**/*.js' 'test/**/*.js'

0 comments on commit db8a39b

Please sign in to comment.