Skip to content

Commit fcccadb

Browse files
committed
Always run lint after tests
1 parent 5ea6e5e commit fcccadb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
language: node_js
22
node_js: node
3-
# Lint and test in parallel
4-
script:
5-
- npm run lint
6-
- npm test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"lint": "git ls-files bin etc libexec | xargs shellcheck",
2626
"pretest": "[ -d $npm_package_directories_testnodenv ] || git clone --quiet --depth 1 https://github.com/nodenv/nodenv $npm_package_directories_testnodenv",
2727
"test": "PATH=$PWD/$npm_package_directories_testnodenv/bin:$PATH bats ${CI:+--tap} test",
28+
"posttest": "npm run lint",
2829
"publish:brew": "brew-publish $npm_package_name v$npm_package_version",
2930
"postversion": "git push --follow-tags && npm run publish:brew"
3031
},

0 commit comments

Comments
 (0)