Add codecov for minio. (#2359)

This commit is contained in:
Harshavardhana
2016-08-04 16:48:50 -07:00
committed by GitHub
parent e783d77c3d
commit 90c20a8c11
6 changed files with 26 additions and 5 deletions
+3 -2
View File
@@ -22,14 +22,15 @@ install:
# to run your custom scripts instead of automatic MSBuild
build_script:
- go test .
- go test -race .
- go test github.com/minio/minio/pkg...
- go test -race github.com/minio/minio/pkg...
- go run buildscripts/gen-ldflags.go > temp.txt
- set /p BUILD_LDFLAGS=<temp.txt
- go build -ldflags="%BUILD_LDFLAGS%" -o %GOPATH%\bin\minio.exe
after_test:
- bash <(curl -s https://codecov.io/bash)
# to disable automatic tests
test: off