8000 ci(travis): apply changes from build config validation [skip ci] · saltstack-formulas/apt-formula@5bd314b · GitHub
[go: up one dir, main page]

Skip to content

Commit 5bd314b

Browse files
committed
ci(travis): apply changes from build config validation [skip ci]
* Automated using myii/ssf-formula#98
1 parent cf6a735 commit 5bd314b

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

.travis.yml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
# vim: ft=yaml
33
---
44
## Machine config
5-
dist: bionic
5+
os: 'linux'
6+
arch: 'amd64'
7+
dist: 'bionic'
68
version: '~> 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
1619
script:
@@ -19,18 +22,18 @@ script:
1922
## Stages and jobs matrix
2023
stages:
2124
- test
22-
- name: release
23-
if: branch = master AND type != pull_request
25+
- name: 'release'
26+
if: 'branch = master AND type != pull_request'
2427
jobs:
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
@@ -61,12 +64,12 @@ jobs:
6164
- env: INSTANCE=preferences-ubuntu-1804-2019-2-py3
6265

6366
## 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'
6871
name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
69-
before_install: skip
72+
before_install: 'skip'
7073
script:
7174
# Update `AUTHORS.md`
7275
- export MAINTAINER_TOKEN=${GH_TOKEN}
@@ -78,8 +81,9 @@ jobs:
7881
@semantic-release/exec@3
7982
@semantic-release/git@7
8083
deploy:
81-
provider: script
84+
provider: 'script'
85+
# Using deprecated `skip_cleanup` until `cleanup: false` works reliably
86+
# cleanup: false
8287
skip_cleanup: true
83-
script:
84-
# Run `semantic-release`
85-
- npx semantic-release@15
88+
# Run `semantic-release`
89+
script: 'npx semantic-release@15'

0 commit comments

Comments
 (0)
0