-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
38 lines (30 loc) · 943 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
language: go
dist: focal
go:
- 1.20.x
notifications:
email: true
env:
global:
- GO111MODULE=on
before_install:
- sudo apt-get update
- pyenv global 3.8
install:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.62.2 -- -b $(go env GOPATH)/bin
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.21.4
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.21.4 -- -b $(go env GOPATH)/bin
script:
- make travis-ci
before_deploy:
- nvm install 14
- npm install
- pip install --user bump2version
deploy:
- provider: script
script: npm run semantic-release
skip_cleanup: true
on:
go: '1.20.x'
branch: main