language: go
go:
    - 1.9
    - tip
before_script:
    - go get -t ./...
script:
    - go test ./... -v
    - go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
    - bash <(curl -s https://codecov.io/bash)
