language: go

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

before_install:
  - go get -u github.com/kardianos/govendor
  - govendor sync

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

language: go

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

before_install:
  - go get -u github.com/kardianos/govendor
  - govendor sync

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

Add -race flag to detect race conditions.
Add -race flag to detect race conditions.
