Skip to content

Commit

Permalink
build: add lint to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSolati committed Aug 7, 2018
1 parent eb35b96 commit 8318f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sudo: required
install:
- npm install
script:
- npm run lint
- npm run test
after_success:
- npm run coverage
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"build": "rm -rf ./dist && rollup -c",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "tslint --project ./tslint.json 'src/**/*.ts'",
"test": "nyc --reporter=html --reporter=text mocha",
"release:major": "changelog -M && git add . && git commit -m 'chore(release): major version release' && npm version major",
"release:minor": "changelog -m && git add . && git commit -m 'chore(release): minor version release' && npm version minor",
Expand Down

0 comments on commit 8318f86

Please sign in to comment.