language: go
go:
  - 1.1
  - 1.2
  - 1.3
  - 1.4
  - 1.5
  - tip
before_install:
  - sudo pip install codecov
script:
  - go test
after_success:
  - codecov
notifications:
  email:
    recipients:
      - montana@montanaflynn.me
    on_success: change
    on_failure: always

language: go
go:
  - 1.1
  - 1.2
  - 1.3
  - 1.4
  - 1.5
  - tip
before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls
script:
  - go test -v -covermode=count -coverprofile=coverage.out
after_success:
  - $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
notifications:
  email:
    recipients:
      - montana@montanaflynn.me
    on_success: change
    on_failure: always

Change codecov to coveralls for code coverage
Change codecov to coveralls for code coverage