From 7e30cdf6b2cc17b562f09cfb593be6eebe66f6ba Mon Sep 17 00:00:00 2001 From: TimothyYe Date: Wed, 27 Feb 2019 13:52:30 +0800 Subject: [PATCH] update travis ci config --- .travis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2184859..cf7e18f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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