2016-08-05 16:59:01 +01:00
|
|
|
language: go
|
2018-02-10 18:59:27 +00:00
|
|
|
|
2016-08-05 16:59:01 +01:00
|
|
|
go:
|
2018-09-10 08:09:12 +01:00
|
|
|
- "1.11.x"
|
2019-04-25 08:25:32 +01:00
|
|
|
- "1.12.x"
|
2016-08-05 16:59:01 +01:00
|
|
|
- tip
|
2018-02-10 18:59:27 +00:00
|
|
|
|
2017-12-13 06:38:15 +00:00
|
|
|
install:
|
2018-03-12 22:57:10 +00:00
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
2018-11-05 08:13:26 +00:00
|
|
|
- go get -u golang.org/x/lint/golint
|
2018-03-12 22:57:10 +00:00
|
|
|
- go get -u github.com/onsi/ginkgo/ginkgo
|
|
|
|
- go get -u github.com/onsi/gomega
|
|
|
|
- go get -u golang.org/x/crypto/ssh
|
2018-09-25 08:40:05 +01:00
|
|
|
- go get -u github.com/lib/pq
|
2018-07-19 17:42:25 +01:00
|
|
|
- go get -u github.com/securego/gosec/cmd/gosec/...
|
2017-12-13 06:38:15 +00:00
|
|
|
- go get -v -t ./...
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
2019-04-25 08:25:32 +01:00
|
|
|
- export GO111MODULE=on
|
2017-12-13 06:38:15 +00:00
|
|
|
|
2018-03-12 22:57:10 +00:00
|
|
|
script: make test
|
2017-12-13 06:38:15 +00:00
|
|
|
|
2018-12-11 16:08:31 +00:00
|
|
|
after_success:
|
|
|
|
- make test-coverage
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|