gosec/.travis.yml

26 lines
583 B
YAML
Raw Normal View History

2016-08-05 16:59:01 +01:00
language: go
2016-08-05 16:59:01 +01:00
go:
- 1.7
- 1.8
- 1.9
2016-08-05 16:59:01 +01:00
- tip
2017-12-13 06:38:15 +00:00
install:
- 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
- go get -v golang.org/x/crypto/ssh
- 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
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 ./...
script: ginkgo -r
2017-12-13 06:38:15 +00:00