language: go

sudo: false
dist: trusty

go:
- 1.x
- 1.2.x
- 1.3.x
- 1.4.x
- 1.5.x
- 1.6.x
- 1.7.x
- master

matrix:
  allow_failures:
  - go: master

before_install:
- go get golang.org/x/tools/cmd/cover

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s "https://codecov.io/bash")

language: go

sudo: false
dist: trusty

go:
- 1.x
- 1.2.x
- 1.3.x
- 1.4.x
- 1.5.x
- 1.6.x
- 1.7.x
- master

matrix:
  allow_failures:
  - go: master

before_install:
- find -wholename '*golang.org/x/tools/cover*' "${GOPATH%%:*}" -delete
- go get golang.org/x/tools/cmd/cover

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s "https://codecov.io/bash")

Remove existing (mismatched version) cover tool installations
Remove existing (mismatched version) cover tool installations
