perf(travis): improve `salt-lint` invocation [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/90
This commit is contained in:
Imran Iqbal 2019-11-02 08:42:59 +00:00
parent 0f68f1957e
commit 875148b387
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ jobs:
# Install and run `salt-lint`
- pip install --user salt-lint
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$'
| xargs -I {} salt-lint {}
| xargs salt-lint
# Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting
- pip install --user yamllint>=1.17.0