File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,14 @@ stages:
2121 - name : release
2222 if : branch = master AND type != pull_request
2323jobs :
24- allow_failures :
25- - env : Lint_rubocop
26- fast_finish : true
2724 include :
2825 # # Define the test stage that runs the linters (and testing matrix, if applicable)
2926
30- # Run all of the linters in a single job (except `rubocop`)
27+ # Run all of the linters in a single job
3128 - language : node_js
3229 node_js : lts/*
3330 env : Lint
34- name : ' Lint: salt-lint, yamllint & commitlint'
31+ name : ' Lint: salt-lint, yamllint, rubocop & commitlint'
3532 before_install : skip
3633 script :
3734 # Install and run `salt-lint`
@@ -42,21 +39,13 @@ jobs:
4239 # Need at least `v1.17.0` for the `yaml-files` setting
4340 - pip install --user yamllint>=1.17.0
4441 - yamllint -s .
42+ # Install and run `rubocop`
43+ - gem install rubocop
44+ - rubocop -d
4545 # Install and run `commitlint`
4646 - npm install @commitlint/config-conventional -D
4747 - npm install @commitlint/travis-cli -D
4848 - commitlint-travis
49- # Run the `rubocop` linter in a separate job that is allowed to fail
50- # Once these lint errors are fixed, this can be merged into a single job
51- - language : node_js
52- node_js : lts/*
53- env : Lint_rubocop
54- name : ' Lint: rubocop'
55- before_install : skip
56- script :
57- # Install and run `rubocop`
58- - gem install rubocop
59- - rubocop -d
6049
6150 # # Define the rest of the matrix based on Kitchen testing
6251 # Make sure the instances listed below match up with
You can’t perform that action at this time.
0 commit comments