Skip to content

Commit

Permalink
ci(travis): run shellcheck during lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Nov 26, 2019
1 parent 11d748a commit a2a7153
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
name: 'Lint: salt-lint, yamllint, rubocop & commitlint'
before_install: 'skip'
script:
# Run `shellcheck`
- git ls-files | grep '\.sh$\|\.bash$\|\.ksh$'
| xargs shellcheck
# Install and run `salt-lint`
- pip install --user salt-lint
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$'
Expand Down

0 comments on commit a2a7153

Please sign in to comment.