0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-30 20:05:14 +01:00

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 22:00:46 +00:00
parent 1b2eb285a5
commit 0fef6f1223

View File

@ -59,7 +59,7 @@ jobs:
script:
# Install and run `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
# Install and run `yamllint`
# Need at least `v1.17.0` for the `yaml-files` setting
@ -70,7 +70,7 @@ jobs:
- rubocop -d
# Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version
- git ls-files -- *.sh *.bash *.ksh
- git ls-files -- '*.sh' '*.bash' '*.ksh'
| xargs shellcheck
# Install and run `commitlint`
- npm i -D @commitlint/config-conventional