Skip to content

Commit

Permalink
ci(travis): run shellcheck during lint job
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#106
  • Loading branch information
myii committed Nov 27, 2019
1 parent 11d748a commit 19ed30b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- language: 'node_js'
node_js: 'lts/*'
env: 'Lint'
name: 'Lint: salt-lint, yamllint, rubocop & commitlint'
name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
before_install: 'skip'
script:
# Install and run `salt-lint`
Expand All @@ -46,6 +46,10 @@ jobs:
# Install and run `rubocop`
- gem install rubocop
- rubocop -d
# Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version
- git ls-files | grep '\.sh$\|\.bash$\|\.ksh$'
| xargs shellcheck
# Install and run `commitlint`
- npm i -D @commitlint/config-conventional
@commitlint/travis-cli
Expand Down

0 comments on commit 19ed30b

Please sign in to comment.