1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

update travis ci config

This commit is contained in:
TimothyYe 2019-02-27 13:52:30 +08:00
parent 5fd782d540
commit 7e30cdf6b2

View File

@ -1,15 +1,10 @@
language: go
go:
- 1.9.x
- 1.10.x
- 1.12
install:
- go get -v
- go get -v github.com/bitly/go-simplejson
- go get -v github.com/fatih/color
- go get -u github.com/alecthomas/gometalinter
- go get -v github.com/smartystreets/goconvey/convey
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.15.0
script:
- gometalinter --install
- gometalinter --config=./gometalinter.json --vendor ./...
- cp ./config_sample.json ./config.json
- go test -v ./...
- golangci-lint run --fast