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-02-10 18:59:27 +00:00
|
|
|
- 1.7
|
|
|
|
- 1.8
|
|
|
|
- 1.9
|
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-02-10 18:59:27 +00:00
|
|
|
- go get -u github.com/golang/lint/golint
|
2017-12-13 06:38:15 +00:00
|
|
|
- go get -v github.com/onsi/ginkgo/ginkgo
|
|
|
|
- go get -v github.com/onsi/gomega
|
2018-02-07 09:10:34 +00:00
|
|
|
- go get -v golang.org/x/crypto/ssh
|
2018-02-10 18:59:27 +00:00
|
|
|
- go get github.com/GoASTScanner/gas/cmd/gas/...
|
2017-12-13 06:38:15 +00:00
|
|
|
- go get -v -t ./...
|
|
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
|
|
|
2018-02-10 18:59:27 +00:00
|
|
|
before_script:
|
|
|
|
- test -z "$(gofmt -s -l -w $(find . -type f -name '*.go' -not -path './vendor/*') | tee /dev/stderr)"
|
|
|
|
- test -z "$(golint . | tee /dev/stderr)"
|
|
|
|
- go vet $(go list ./... | grep -v /vendor/)
|
|
|
|
- gas ./...
|
|
|
|
|
2018-01-05 11:55:06 +00:00
|
|
|
script: ginkgo -r
|
2017-12-13 06:38:15 +00:00
|
|
|
|