Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mysql-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
salt
mysql-formula
Commits
d520848c
Commit
d520848c
authored
5 years ago
by
Imran Iqbal
Browse files
Options
Downloads
Patches
Plain Diff
ci(travis): apply changes from build config validation [skip ci]
* Automated using
https://github.com/myii/ssf-formula/pull/98
parent
40d4b976
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+25
-21
25 additions, 21 deletions
.travis.yml
with
25 additions
and
21 deletions
.travis.yml
+
25
−
21
View file @
d520848c
...
...
@@ -2,15 +2,18 @@
# vim: ft=yaml
---
## Machine config
dist
:
bionic
os
:
'
linux'
arch
:
'
amd64'
dist
:
'
bionic'
version
:
'
~>
1.0'
sudo
:
required
services
:
-
docker
## Language and cache config
language
:
ruby
cache
:
bundler
language
:
'
ruby'
cache
:
'
bundler'
## Services config
services
:
-
docker
## Script to run for the test stage
script
:
...
...
@@ -19,18 +22,18 @@ script:
## Stages and jobs matrix
stages
:
-
test
-
name
:
release
if
:
branch = master AND type != pull_request
-
name
:
'
release
'
if
:
'
branch
=
master
AND
type
!=
pull_request
'
jobs
:
include
:
## Define the test stage that runs the linters (and testing matrix, if applicable)
# Run all of the linters in a single job
-
language
:
node_js
node_js
:
lts/*
env
:
Lint
-
language
:
'
node_js
'
node_js
:
'
lts/*
'
env
:
'
Lint
'
name
:
'
Lint:
salt-lint,
yamllint,
rubocop
&
commitlint'
before_install
:
skip
before_install
:
'
skip
'
script
:
# Install and run `salt-lint`
-
pip install --user salt-lint
...
...
@@ -83,12 +86,12 @@ jobs:
# - env: INSTANCE=default-arch-base-latest-2017-7-py2
## Define the release stage that runs `semantic-release`
-
stage
:
release
language
:
node_js
node_js
:
lts/*
env
:
Release
-
stage
:
'
release
'
language
:
'
node_js
'
node_js
:
'
lts/*
'
env
:
'
Release
'
name
:
'
Run
semantic-release
inc.
file
updates
to
AUTHORS,
CHANGELOG
&
FORMULA'
before_install
:
skip
before_install
:
'
skip
'
script
:
# Update `AUTHORS.md`
-
export MAINTAINER_TOKEN=${GH_TOKEN}
...
...
@@ -100,8 +103,9 @@ jobs:
@semantic-release/exec@3
@semantic-release/git@7
deploy
:
provider
:
script
provider
:
'
script'
# Using deprecated `skip_cleanup` until `cleanup: false` works reliably
# cleanup: false
skip_cleanup
:
true
script
:
# Run `semantic-release`
-
npx semantic-release@15
script
:
'
npx
semantic-release@15
'
This diff is collapsed.
Click to expand it.
Jan Philipp Timme
@timmej
mentioned in commit
32ac4999
·
5 years ago
mentioned in commit
32ac4999
mentioned in commit 32ac499995c865378a2e21f9377dda3407600b6a
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment