feat: add linting to travis script

This commit is contained in:
Matt Condon
2017-11-27 18:22:54 +02:00
parent d07bdccc0c
commit 258c001f7f
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,8 @@ cache:
before_script:
- truffle version
script:
- npm test
- npm run lint
- npm run test
notifications:
slack:
rooms:

View File

@ -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"
},