sudo: required
dist: trusty
group: edge
language: go
go:
- 1.5
before_install:
  - pip install --user codecov
script:
- |
  go get ./...
  go test -v -coverprofile=coverage.txt -covermode=atomic
  go vet
after_success:
  - codecov
