ci(travis): quote pathspecs used with git ls-files [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/107
This commit is contained in:
Imran Iqbal 2019-11-27 21:54:53 +00:00
parent 298a7d61c2
commit 0090c91b60

View File

@ -40,7 +40,7 @@ jobs:
script: script:
# Install and run `salt-lint` # Install and run `salt-lint`
- pip install --user salt-lint - pip install --user salt-lint
- git ls-files -- *.sls *.jinja *.j2 *.tmpl *.tst - git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
| xargs salt-lint | xargs salt-lint
# Install and run `yamllint` # Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting # Need at least `v1.17.0` for the `yaml-files` setting
@ -48,7 +48,7 @@ jobs:
- yamllint -s . - yamllint -s .
# Run `shellcheck` (already pre-installed in Travis) # Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version - shellcheck --version
- git ls-files -- *.sh *.bash *.ksh - git ls-files -- '*.sh' '*.bash' '*.ksh'
| xargs shellcheck | xargs shellcheck
# Install and run `commitlint` # Install and run `commitlint`
- npm i -D @commitlint/config-conventional - npm i -D @commitlint/config-conventional