File tree Expand file tree Collapse file tree 1 file changed +25
-21
lines changed Expand file tree Collapse file tree 1 file changed +25
-21
lines changed Original file line number Diff line number Diff line change 2
2
# vim: ft=yaml
3
3
---
4
4
# # Machine config
5
- dist : bionic
5
+ os : ' linux'
6
+ arch : ' amd64'
7
+ dist : ' bionic'
6
8
version : ' ~> 1.0'
7
- sudo : required
8
- services :
9
- - docker
10
9
11
10
# # Language and cache config
12
- language : ruby
13
- cache : bundler
11
+ language : ' ruby'
12
+ cache : ' bundler'
13
+
14
+ # # Services config
15
+ services :
16
+ - docker
14
17
15
18
# # Script to run for the test stage
16
19
script :
@@ -19,18 +22,18 @@ script:
19
22
# # Stages and jobs matrix
20
23
stages :
21
24
- test
22
- - name : release
23
- if : branch = master AND type != pull_request
25
+ - name : ' release'
26
+ if : ' branch = master AND type != pull_request'
24
27
jobs :
25
28
include :
26
29
# # Define the test stage that runs the linters (and testing matrix, if applicable)
27
30
28
31
# 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'
32
35
name : ' Lint: salt-lint, yamllint, rubocop & commitlint'
33
- before_install : skip
36
+ before_install : ' skip'
34
37
script :
35
38
# Install and run `salt-lint`
36
39
- pip install --user salt-lint
@@ -61,12 +64,12 @@ jobs:
61
64
- env : INSTANCE=preferences-ubuntu-1804-2019-2-py3
62
65
63
66
# # Define the release stage that runs `semantic-release`
64
- - stage : release
65
- language : node_js
66
- node_js : lts/*
67
- env : Release
67
+ - stage : ' release'
68
+ language : ' node_js'
69
+ node_js : ' lts/*'
70
+ env : ' Release'
68
71
name : ' Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
69
- before_install : skip
72
+ before_install : ' skip'
70
73
script :
71
74
# Update `AUTHORS.md`
72
75
- export MAINTAINER_TOKEN=${GH_TOKEN}
78
81
@semantic-release/exec@3
79
82
@semantic-release/git@7
80
83
deploy :
81
- provider : script
84
+ provider : ' script'
85
+ # Using deprecated `skip_cleanup` until `cleanup: false` works reliably
86
+ # cleanup: false
82
87
skip_cleanup : true
83
- script :
84
- # Run `semantic-release`
85
- - npx semantic-release@15
88
+ # Run `semantic-release`
89
+ script : ' npx semantic-release@15'
You can’t perform that action at this time.
0 commit comments