Skip to content

Commit

Permalink
fix(travis): quote pathspecs used with git ls-files
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Nov 27, 2019
1 parent 018dc84 commit 52948b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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
Expand All @@ -40,7 +40,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
Expand Down
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'feat: update deprecation version number in `semantic-release` run'
body: '* Automated using https://github.com/myii/ssf-formula/pull/104'
title: 'fix(travis): quote pathspecs used with `git ls-files` [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/107'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down
4 changes: 2 additions & 2 deletions ssf/files/default/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
{%- endif %}
# Install and run `salt-lint`
- {{ pip_cmd }} 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
Expand All @@ -139,7 +139,7 @@ jobs:
{%- endif %}
# 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
Expand Down

0 comments on commit 52948b2

Please sign in to comment.