language: go
go:
    - 1.3
    - 1.4
    - 1.5
    - tip
install:
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls
script:
    - go test -v -covermode=count -coverprofile=coverage.out
    - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
notifications:
    email:
        on_success: change
        on_failure: always
    slack: marshland:whhps9g7T0jujrU9PCK3ojGP

language: go
go:
    - 1.3
    - 1.4
    - 1.5
    - tip
install:
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls
script:
    - go test -covermode=atomic -coverprofile=coverage.txt
after_success:
    - bash <(curl -s https://codecov.io/bash)
notifications:
    email:
        on_success: change
        on_failure: always
    slack: marshland:whhps9g7T0jujrU9PCK3ojGP

Change coverage reporting to Codecov.
Change coverage reporting to Codecov.
