language: go
sudo: false
go:
  - 1.12.x
  - tip
os:
  - linux
  - osx
script:
  - go test -coverprofile=coverage.txt -covermode=atomic
install:
  - go get -v ./...
after_success:
  - bash <(curl -s https://codecov.io/bash)
