summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/minio/minio-go/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/minio/minio-go/appveyor.yml')
-rw-r--r--vendor/github.com/minio/minio-go/appveyor.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/github.com/minio/minio-go/appveyor.yml b/vendor/github.com/minio/minio-go/appveyor.yml
new file mode 100644
index 000000000..a5dc2b226
--- /dev/null
+++ b/vendor/github.com/minio/minio-go/appveyor.yml
@@ -0,0 +1,37 @@
+# version format
+version: "{build}"
+
+# Operating system (build VM template)
+os: Windows Server 2012 R2
+
+clone_folder: c:\gopath\src\github.com\minio\minio-go
+
+# environment variables
+environment:
+ GOPATH: c:\gopath
+ GO15VENDOREXPERIMENT: 1
+
+# scripts that run after cloning repository
+install:
+ - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
+ - go version
+ - go env
+ - go get -u github.com/golang/lint/golint
+ - go get -u github.com/remyoudompheng/go-misc/deadcode
+ - go get -u github.com/gordonklaus/ineffassign
+
+# to run your custom scripts instead of automatic MSBuild
+build_script:
+ - go vet ./...
+ - gofmt -s -l .
+ - golint github.com/minio/minio-go...
+ - deadcode
+ - ineffassign .
+ - go test -short -v
+ - go test -short -race -v
+
+# to disable automatic tests
+test: off
+
+# to disable deployment
+deploy: off