summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 48ea6e7..39a33d8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -9,28 +9,24 @@ clone_folder: c:\gopath\src\github.com\minio\minio-go
# environment variables
environment:
GOPATH: c:\gopath
- GO15VENDOREXPERIMENT: 1
+ GO111MODULE: on
# scripts that run after cloning repository
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go version
- go env
- - go get -u golang.org/x/lint/golint
- - go get -u github.com/remyoudompheng/go-misc/deadcode
- - go get -u github.com/gordonklaus/ineffassign
- - go get -u golang.org/x/crypto/argon2
- - go get -t ./...
+ - go get golang.org/x/lint/golint
+ - go get honnef.co/go/tools/cmd/staticcheck
# to run your custom scripts instead of automatic MSBuild
build_script:
- go vet ./...
- gofmt -s -l .
- - golint -set_exit_status github.com/minio/minio-go...
- - deadcode
- - ineffassign .
- - go test -short -v
- - go test -short -race -v
+ - golint -set_exit_status github.com/minio/minio-go/...
+ - staticcheck
+ - go test -short -v ./...
+ - go test -short -race -v ./...
# to disable automatic tests
test: off