22# vim: ft=yaml
33---
44# # Machine config
5- dist : bionic
5+ os : ' linux'
6+ arch : ' amd64'
7+ dist : ' bionic'
68version : ' ~> 1.0'
7- sudo : required
8- services :
9- - docker
109
1110# # Language and cache config
12- language : ruby
13- cache : bundler
11+ language : ' ruby'
12+ cache : ' bundler'
13+
14+ # # Services config
15+ services :
16+ - docker
1417
1518# # Script to run for the test stage
1619script :
@@ -19,18 +22,18 @@ script:
1922# # Stages and jobs matrix
2023stages :
2124 - test
22- - name : release
23- if : branch = master AND type != pull_request
25+ - name : ' release'
26+ if : ' branch = master AND type != pull_request'
2427jobs :
2528 include :
2629 # # Define the test stage that runs the linters (and testing matrix, if applicable)
2730
2831 # Run all of the linters in a single job
29- - language : node_js
30- node_js : lts/*
31- env : Lint
32+ - language : ' node_js'
33+ node_js : ' lts/*'
34+ env : ' Lint'
3235 name : ' Lint: salt-lint, yamllint, rubocop & commitlint'
33- before_install : skip
36+ before_install : ' skip'
3437 script :
3538 # Install and run `salt-lint`
3639 - pip install --user salt-lint
@@ -84,12 +87,12 @@ jobs:
8487 # - env: INSTANCE=default-arch-base-latest-2017-7-py2
8588
8689 # # Define the release stage that runs `semantic-release`
87- - stage : release
88- language : node_js
89- node_js : lts/*
90- env : Release
90+ - stage : ' release'
91+ language : ' node_js'
92+ node_js : ' lts/*'
93+ env : ' Release'
9194 name : ' Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
92- before_install : skip
95+ before_install : ' skip'
9396 script :
9497 # Update `AUTHORS.md`
9598 - export MAINTAINER_TOKEN=${GH_TOKEN}
@@ -101,8 +104,9 @@ jobs:
101104 @semantic-release/exec@3
102105 @semantic-release/git@7
103106 deploy :
104- provider : script
107+ provider : ' script'
108+ # Using deprecated `skip_cleanup` until `cleanup: false` works reliably
109+ # cleanup: false
105110 skip_cleanup : true
106- script :
107- # Run `semantic-release`
108- - npx semantic-release@15
111+ # Run `semantic-release`
112+ script : ' npx semantic-release@15'
0 commit comments