# Travis CI (http://travis-ci.org/) is a continuous integration service for
# open source projects. This file configures it to run unit tests for rtfblog.

language: go

go:
    - 1.2.1
    - 1.3
    - tip

before_install:
    - go get golang.org/x/tools/cmd/vet
    - go get -v golang.org/x/tools/cmd/cover
    - go get -v github.com/mattn/goveralls
    - npm install -g grunt-cli bower browserify json

script:
    - make
    - go test -covermode=count -coverprofile=profile.cov -v ./src/...

after_script:
    - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci

# Travis CI (http://travis-ci.org/) is a continuous integration service for
# open source projects. This file configures it to run unit tests for rtfblog.

language: go

go:
    - tip

before_install:
    - go get golang.org/x/tools/cmd/vet
    - go get -v golang.org/x/tools/cmd/cover
    - go get -v github.com/mattn/goveralls
    - npm install -g grunt-cli bower browserify json

script:
    - make
    - go test -covermode=count -coverprofile=profile.cov -v ./src/...

after_script:
    - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci

Remove older versions of Go from build matrix
Remove older versions of Go from build matrix

Only build on tip for now, will include 1.4 when it's out. That's
because the new package path golang.org/x/tools/cmd is incompatible with
older versions.
