瀏覽代碼

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

* Automated using https://github.com/myii/ssf-formula/pull/107
tags/v2.3.3
Imran Iqbal 5 年之前
父節點
當前提交
091c61448d
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      .travis.yml

+ 2
- 2
.travis.yml 查看文件

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
- 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

Loading…
取消
儲存