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