forked from IBM/go-sdk-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (35 loc) · 876 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
37
38
39
40
41
42
43
44
language: go
dist: bionic
go:
- '1.16.x'
- '1.17.x'
- '1.18.x'
- '1.19.x'
notifications:
email: false
env:
global:
- GO111MODULE=on
before_install:
- sudo apt-get update
install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.49.0
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
script:
- make all
- make scan-gosec
before_deploy:
- nvm install 14
- npm install -g [email protected]
- npm install @semantic-release/changelog
- npm install @semantic-release/exec
- npm install @semantic-release/git
- npm install @semantic-release/github
- pip install --user bump2version
deploy:
- provider: script
script: npx semantic-release
skip_cleanup: true
on:
go: '1.16.x'
branch: main