Skip to content

Commit

Permalink
ci(travis): test all instances
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Sep 21, 2020
1 parent fdae2d9 commit b5582ea
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,51 +28,51 @@ jobs:
include:
## Define the test stage that runs the linters (and testing matrix, if applicable)

# Run all of the linters in a single job
- language: 'node_js'
node_js: 'lts/*'
env: 'Lint'
name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
before_install: 'skip'
script:
# Install and run `salt-lint`
- pip install --user salt-lint
- 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
- pip install --user yamllint>=1.17.0
- yamllint -s .
# Install and run `rubocop`
- gem install rubocop
- rubocop -d
# Run `shellcheck` (already pre-installed in Travis)
- shellcheck --version
- git ls-files -- '*.sh' '*.bash' '*.ksh'
| xargs shellcheck
# Install and run `commitlint`
- npm i -D @commitlint/config-conventional
@commitlint/travis-cli
- commitlint-travis
# # Run all of the linters in a single job
# - language: 'node_js'
# node_js: 'lts/*'
# env: 'Lint'
# name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
# before_install: 'skip'
# script:
# # Install and run `salt-lint`
# - pip install --user salt-lint
# - 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
# - pip install --user yamllint>=1.17.0
# - yamllint -s .
# # Install and run `rubocop`
# - gem install rubocop
# - rubocop -d
# # Run `shellcheck` (already pre-installed in Travis)
# - shellcheck --version
# - git ls-files -- '*.sh' '*.bash' '*.ksh'
# | xargs shellcheck
# # Install and run `commitlint`
# - npm i -D @commitlint/config-conventional
# @commitlint/travis-cli
# - commitlint-travis

## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`
- env: INSTANCE=repositories-debian-10-tiamat-py3
# - env: INSTANCE=preferences-debian-10-tiamat-py3
# - env: INSTANCE=unattended-debian-10-tiamat-py3
# - env: INSTANCE=repositories-debian-9-tiamat-py3
- env: INSTANCE=preferences-debian-10-tiamat-py3
- env: INSTANCE=unattended-debian-10-tiamat-py3
- env: INSTANCE=repositories-debian-9-tiamat-py3
- env: INSTANCE=preferences-debian-9-tiamat-py3
# - env: INSTANCE=unattended-debian-9-tiamat-py3
- env: INSTANCE=unattended-debian-9-tiamat-py3
- env: INSTANCE=repositories-ubuntu-2004-tiamat-py3
# - env: INSTANCE=preferences-ubuntu-2004-tiamat-py3
# - env: INSTANCE=unattended-ubuntu-2004-tiamat-py3
# - env: INSTANCE=repositories-ubuntu-1804-tiamat-py3
# - env: INSTANCE=preferences-ubuntu-1804-tiamat-py3
- env: INSTANCE=preferences-ubuntu-2004-tiamat-py3
- env: INSTANCE=unattended-ubuntu-2004-tiamat-py3
- env: INSTANCE=repositories-ubuntu-1804-tiamat-py3
- env: INSTANCE=preferences-ubuntu-1804-tiamat-py3
- env: INSTANCE=unattended-ubuntu-1804-tiamat-py3
# - env: INSTANCE=repositories-ubuntu-1604-tiamat-py3
- env: INSTANCE=repositories-ubuntu-1604-tiamat-py3
- env: INSTANCE=preferences-ubuntu-1604-tiamat-py3
# - env: INSTANCE=unattended-ubuntu-1604-tiamat-py3
- env: INSTANCE=unattended-ubuntu-1604-tiamat-py3

## Define the release stage that runs `semantic-release`
- stage: 'release'
Expand Down

0 comments on commit b5582ea

Please sign in to comment.