From 59a8ada4a8d287abd7e1025293f5d7894a7788c2 Mon Sep 17 00:00:00 2001 From: elcore Date: Thu, 19 Oct 2017 19:02:56 +0200 Subject: [PATCH] Fix CI Tests (#1929) --- .travis.yml | 7 ++----- appveyor.yml | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5dd7331..d0addd4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,14 +25,11 @@ install: - go get -t ./... - go get github.com/golang/lint/golint - go get github.com/FiloSottile/vendorcheck - # Install gometalinter and certain linters + # Install gometalinter - go get github.com/alecthomas/gometalinter - - go get github.com/client9/misspell/cmd/misspell - - go get github.com/gordonklaus/ineffassign - - go get golang.org/x/tools/cmd/goimports - - go get github.com/tsenart/deadcode script: + - gometalinter --install - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./... - vendorcheck ./... - go test -race ./... diff --git a/appveyor.yml b/appveyor.yml index dfb5e1c4..7df9f014 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,16 +20,13 @@ install: - go get -t ./... - go get github.com/golang/lint/golint - go get github.com/FiloSottile/vendorcheck - # Install gometalinter and certain linters + # Install gometalinter - go get github.com/alecthomas/gometalinter - - go get github.com/client9/misspell/cmd/misspell - - go get github.com/gordonklaus/ineffassign - - go get golang.org/x/tools/cmd/goimports - - go get github.com/tsenart/deadcode build: off test_script: + - gometalinter --install - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./... - vendorcheck ./... - go test -race ./...