From 5ac04b91bb92829711bf15499f6907593cd49728 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 2 Aug 2016 10:55:38 -0600 Subject: [PATCH] Add -race to CI tests; use Go 1.6.3 --- .travis.yml | 4 ++-- appveyor.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c121a702..0843e114 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: - - 1.6.2 + - 1.6.3 - tip env: @@ -24,7 +24,7 @@ script: - diff <(echo -n) <(gofmt -s -d .) - ineffassign . - go vet ./... - - go test ./... + - go test -race ./... after_script: - golint ./... diff --git a/appveyor.yml b/appveyor.yml index 43688103..2b327fb4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,8 +10,8 @@ environment: install: - rmdir c:\go /s /q - - appveyor DownloadFile https://storage.googleapis.com/golang/go1.6.2.windows-amd64.zip - - 7z x go1.6.2.windows-amd64.zip -y -oC:\ > NUL + - appveyor DownloadFile https://storage.googleapis.com/golang/go1.6.3.windows-amd64.zip + - 7z x go1.6.3.windows-amd64.zip -y -oC:\ > NUL - go version - go env - go get -t ./... @@ -23,7 +23,7 @@ build: off test_script: - go vet ./... - - go test ./... + - go test -race ./... - ineffassign . after_test: