Skip to content

Commit

Permalink
feat: add linting to travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
shrugs committed Dec 1, 2017
1 parent d07bdcc commit 258c001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ cache:
before_script:
- truffle version
script:
- npm test
- npm run lint
- npm run test
notifications:
slack:
rooms:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Secure Smart Contract library for Solidity",
"scripts": {
"test": "scripts/test.sh",
"lint": "eslint .",
"console": "truffle console",
"coverage": "scripts/coverage.sh"
},
Expand Down

0 comments on commit 258c001

Please sign in to comment.