language: go

go:
  - 1.3
  - 1.4
  - 1.5

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

script:
  - go test -v ./... -bench=.
  - $HOME/gopath/bin/goveralls -v

language: go

go:
  - 1.3
  - 1.4
  - 1.5
  - tip

matrix:
  allow_failures:
    - go: tip

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

script:
  - go test -v ./... -bench=.
  - $HOME/gopath/bin/goveralls -v

Build with the latest (tip) version of go again.
Build with the latest (tip) version of go again.

This time, allow failures of the tip build - as it does not necessarily
indicate an issue with the commit.
