forked from awslabs/goformation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 956 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: go
go:
- 1.11.x
env:
- GO111MODULE=on
install: true
jobs:
include:
- stage: test
script: go test -v -mod=vendor ./...
# Define a stage that will auto-generate CloudFormation resources from the official
# AWS CloudFormation Resource Specification on a daily basis (run via a travis cron)
- stage: regenerate
if: type = cron
script: generate/create-pull-request.sh
# Define the release stage that runs semantic-release
- stage: release
if: type = push
language: node_js
node_js: lts/*
before_install: skip
deploy:
provider: script
skip_cleanup: true
script: >-
go get github.com/myii/maintainer &&
maintainer contributor &&
npm install @semantic-release/changelog@3 -D &&
npm install @semantic-release/exec@3 -D &&
npm install @semantic-release/git@7 -D &&
npx semantic-release@15