Skip to content

Commit

Permalink
Merge pull request #9 from nodenv/travis
Browse files Browse the repository at this point in the history
lint on travis
  • Loading branch information
jasonkarns committed Nov 10, 2018
2 parents 4c0e564 + 33b3e0c commit 6c5ca83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
@@ -0,0 +1,3 @@
language: node_js
node_js: node
cache: npm
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -21,6 +21,8 @@
"bin": "bin"
},
"scripts": {
"posttest": "npm run lint",
"lint": "git ls-files bin etc | xargs shellcheck",
"publish:brew": "brew-publish $npm_package_name v$npm_package_version",
"postversion": "git push --follow-tags && npm run publish:brew"
},
Expand Down

0 comments on commit 6c5ca83

Please sign in to comment.