Add -race to CI tests; use Go 1.6.3

This commit is contained in:
Matthew Holt 2016-08-02 10:55:38 -06:00
parent 1b1aecb1e6
commit 5ac04b91bb
No known key found for this signature in database
GPG Key ID: 0D97CC73664F4D03
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
language: go language: go
go: go:
- 1.6.2 - 1.6.3
- tip - tip
env: env:
@ -24,7 +24,7 @@ script:
- diff <(echo -n) <(gofmt -s -d .) - diff <(echo -n) <(gofmt -s -d .)
- ineffassign . - ineffassign .
- go vet ./... - go vet ./...
- go test ./... - go test -race ./...
after_script: after_script:
- golint ./... - golint ./...

View File

@ -10,8 +10,8 @@ environment:
install: install:
- rmdir c:\go /s /q - rmdir c:\go /s /q
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.6.2.windows-amd64.zip - appveyor DownloadFile https://storage.googleapis.com/golang/go1.6.3.windows-amd64.zip
- 7z x go1.6.2.windows-amd64.zip -y -oC:\ > NUL - 7z x go1.6.3.windows-amd64.zip -y -oC:\ > NUL
- go version - go version
- go env - go env
- go get -t ./... - go get -t ./...
@ -23,7 +23,7 @@ build: off
test_script: test_script:
- go vet ./... - go vet ./...
- go test ./... - go test -race ./...
- ineffassign . - ineffassign .
after_test: after_test: