mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
test: add CI test of conversion script
This commit is contained in:
parent
edfa269e96
commit
7ad85ae0db
1 changed files with 11 additions and 0 deletions
11
.travis.yml
11
.travis.yml
|
@ -100,6 +100,17 @@ jobs:
|
|||
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2
|
||||
# - env: INSTANCE=default-arch-base-latest-2017-7-py2
|
||||
|
||||
# Test the conversion of `template-formula` into another formula
|
||||
# ready for development
|
||||
- env: 'Conversion'
|
||||
name: 'Test: bin/convert-formula.sh'
|
||||
script:
|
||||
- git clone . tmp/converted-formula
|
||||
- cd tmp/converted-formula
|
||||
- DEBUG=true bin/convert-formula.sh converted
|
||||
- '[ $(git rev-list HEAD --count) -eq 2 ]'
|
||||
- bin/kitchen verify default-debian-10-2019-2-py3
|
||||
|
||||
## Define the release stage that runs `semantic-release`
|
||||
- stage: 'release'
|
||||
language: 'node_js'
|
||||
|
|
Loading…
Add table
Reference in a new issue