-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 1.42 KB
/
.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
anguage: go
go:
- 1.20.x
addons:
apt:
update: true
packages:
- ruby
jobs:
include:
- name: "Coverage"
os: linux
dist: jammy
install:
- sudo gem install coveralls-lcov
- go install github.com/jandelgado/gcov2lcov@latest
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0
- go get ./...
script:
- go build -ldflags="-X main.Commit=$(git rev-parse HEAD)" -o koinos-mq-golang *.go
- golangci-lint run ./...
after_success:
- coveralls-lcov --repo-token "$COVERALLS_REPO_TOKEN" --service-name travis-pro coverage.info
notifications:
slack:
secure: ZjVkz8gT1JaVfZrpbeQWBLs1as6t94xrumOR4aCX0ycWBAPhqWvMe/4AlBMtdxv607N4ZiVEVwOF1+e7Rv0kkQV4wSoHaxij6c53btCXkMfIxap/90hY5mJwqoskRxgIFXP0bH4tKQqNn5Kd/8ZudfwViltJeKDl4yB/+Alj3LYDuqKlr1il7Y4Odlt6/43GCAfPTUgIV62AGTD6gALVPxeYlFQHKtpvY/L0sKQZFZ3Wv0kRRUpIpSu3DRtFmsdssKlKw8GcT3GkrCp0njv8jwJr/BiEEheSUdNki6YBh0q9p/paVrNMGdkbxIsNqlVMTtrGWUP+L71WZDgpUADT2lh11ZzwhKoTZhnUtlsDfajeX64bfWlVWyaem5fV91ScgHpfZMXvbzn/EMYeyyfE1QqzoD9YDX4DkdwNA8dXaIw80lE1OV3bUUjxUVcbfKVPKR6fb1HM/4AVFAAAoIC/x01VlJCvmVTElhTK4dkl5pp/ss+8Q3Pq8ONaLjiO/BbIGItLbvhtT23L6GCJYS8jh0oelXacZxvOWdHeD1zj/qlaoMTM8NX7HCNIDVTHzYoKRALorzm1FS2Z6IUtfV7o8a2MViPr1wPaRfJCOkLZyh0zf7M5n/GXPWb+cmnbzxrzUUF6uvLb0E63sNQyvSyGWWkJnxTyqQPIJHckXu9gW6s=
on_success: never