forked from IBM/platform-services-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (34 loc) · 872 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
language: go
dist: bionic
go:
- 1.14.x
- 1.16.x
- 1.17.x
notifications:
email: true
env:
global:
- GO111MODULE=on
before_install:
- sudo apt-get update
- pyenv global 3.8
install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.41.1
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.8.1
script:
- make travis-ci
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.14.x'
branch: main