# 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 code.google.com/p/go.tools/cmd/vet
    - go get -v code.google.com/p/go.tools/cmd/cover
    - go get -v github.com/mattn/goveralls
    - npm install -g grunt-cli bower browserify
    - npm install
    - bower install ribs

install:
    - go get -d -t -v ./...
    - ./scripts/genversion.sh > src/version.go
    - go build -v src/*.go

script:
    - grunt qunit
    - go vet -x src/*.go
    - 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:
    - 1.2.1
    - 1.3
    - tip

before_install:
    - go get code.google.com/p/go.tools/cmd/vet
    - go get -v code.google.com/p/go.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

Simplify Travis config, let make do all the work
Simplify Travis config, let make do all the work
