* Automated using https://github.com/myii/ssf-formula/pull/86tags/v0.10.0
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 | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$' | |||||
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$\|\.tst$' | |||||
| xargs -I {} salt-lint {} | | xargs -I {} 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 | ||||
# Make sure the instances listed below match up with | # Make sure the instances listed below match up with | ||||
# the `platforms` defined in `kitchen.yml` | # the `platforms` defined in `kitchen.yml` | ||||
- env: INSTANCE=repositories-debian-10-master-py3 | - env: INSTANCE=repositories-debian-10-master-py3 | ||||
# - env: INSTANCE=preferences-debian-10-master-py3 | |||||
# - env: INSTANCE=repositories-ubuntu-1804-develop-py3 | |||||
# - env: INSTANCE=preferences-ubuntu-1804-develop-py3 | |||||
- env: INSTANCE=preferences-debian-10-master-py3 | |||||
# - env: INSTANCE=repositories-ubuntu-1804-master-py3 | |||||
# - env: INSTANCE=preferences-ubuntu-1804-master-py3 | |||||
- env: INSTANCE=repositories-debian-9-2019-2-py3 | - env: INSTANCE=repositories-debian-9-2019-2-py3 | ||||
- env: INSTANCE=preferences-debian-9-2019-2-py3 | - env: INSTANCE=preferences-debian-9-2019-2-py3 | ||||
- env: INSTANCE=repositories-ubuntu-1804-2019-2-py3 | - env: INSTANCE=repositories-ubuntu-1804-2019-2-py3 |
# Make sure the platforms listed below match up with | # Make sure the platforms listed below match up with | ||||
# the `env.matrix` instances defined in `.travis.yml` | # the `env.matrix` instances defined in `.travis.yml` | ||||
platforms: | platforms: | ||||
## SALT `develop` => `master` | |||||
## SALT `master` | |||||
- name: debian-10-master-py3 | - name: debian-10-master-py3 | ||||
driver: | driver: | ||||
image: netmanagers/salt-master-py3:debian-10 | image: netmanagers/salt-master-py3:debian-10 | ||||
provision_command: | provision_command: | ||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master | - sh bootstrap-salt.sh -XdPbfrq -x python3 git master | ||||
- name: ubuntu-1804-develop-py3 | |||||
- name: ubuntu-1804-master-py3 | |||||
driver: | driver: | ||||
image: netmanagers/salt-develop-py3:ubuntu-18.04 | |||||
image: netmanagers/salt-master-py3:ubuntu-18.04 | |||||
provision_command: | provision_command: | ||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | - curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop | |||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master | |||||
## SALT `2019.2` | ## SALT `2019.2` | ||||
- name: debian-9-2019-2-py3 | - name: debian-9-2019-2-py3 |