2018-05-09 01:53:14 +08:00
|
|
|
language: go
|
|
|
|
go:
|
2020-09-01 10:34:49 +08:00
|
|
|
- 1.14.x
|
|
|
|
- 1.15.x
|
2018-05-09 01:53:14 +08:00
|
|
|
- stable
|
2020-11-13 14:53:58 +08:00
|
|
|
before_install:
|
|
|
|
- go get github.com/mattn/goveralls
|
2018-05-09 01:53:14 +08:00
|
|
|
script:
|
|
|
|
- go get -t ./...
|
2019-02-18 15:05:59 +08:00
|
|
|
- go get -u golang.org/x/lint/golint
|
2018-05-09 01:53:14 +08:00
|
|
|
- go test ./...
|
2019-05-21 16:53:16 +08:00
|
|
|
- CGO_ENABLED=1 go test -race ./...
|
2018-05-09 01:53:14 +08:00
|
|
|
- go vet ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
2019-02-24 10:12:41 +08:00
|
|
|
- diff -u <(echo -n) <(./internal/scripts/autogen_licences.sh .)
|
2019-02-18 15:05:59 +08:00
|
|
|
- diff -u <(echo -n) <(golint ./...)
|
2020-11-13 15:07:17 +08:00
|
|
|
- $GOPATH/bin/goveralls -service=travis-pro
|
2019-05-21 16:53:16 +08:00
|
|
|
env:
|
|
|
|
global:
|
2020-06-21 02:31:30 +08:00
|
|
|
- CGO_ENABLED=0
|
2020-11-13 15:07:17 +08:00
|
|
|
- secure: VOOh/w2YNAn+psiWYjIOQ5ZhhMb6Wz7zzmhIlj0dc5mGQztFAX5TuNWOU5JokvOigFy18JhPeDJRmp661xqM4gy1Znx1odSXES3YdCwt42pmpjYIkI9lI09xTRH6WYIRmYfCHe4J3A9/CWLeDRaAU1e+YqmNyraaGzE82ouUPH/I4A9gur4j4j6t1X/t0iovyd/4qNDsetUPevQsJS224Pv6Xhg3LGnSAXMPM+tu0t3UeEfRu/l9OgP6/bnet9BUx0BryFCVJp6fAtq7x61+WRIJesugrhHVgl/dz8CgFsVjRkqWQSNnZvt07dHNOX0mZj2U22OAkH+9ZN93wScs3bDZFXozrta7eOWhrJLcJTMrAxdHYMNKmoXqQQ0TGFV/L9blOtT8uj9US3wxeD11s4TyZePWIC5hnpUsNFoGPsBB45uwW2TSwvTTEL9bxWWzjYzSkLG5P6Kk4/JkeMh3OMFCM/LutX8QDch1n/s0CfXdy7qgh5G4I9ZhGTU+huJlumeuM4U+my0EPnA3uclJ97cw0n6K7MKwKCTTA8La2ifATunKC/U4Hjo1rf9DxofIrRIvwV5zEUIn1r6ut5fO+o+MWDupkvsMqIA7QJyCLhRp+pAlPWGDZLdrFEicN/kpULH4IGUIPn532gXzEOAG+Aq0WYDVPXGLSifSyxafiDk=
|