language: go
sudo: false

go:
    - 1.5
    - release

install:
    - go get golang.org/x/tools/cmd/goimports
    - go get golang.org/x/tools/cover
    - go get github.com/hailiang/gosweep
    - go get github.com/golang/lint/golint
    - go get github.com/mattn/goveralls

script:
    - go get -v ./...
    - go test -v ./...
    - ../../hailiang/gosweep/gosweep.sh
    - $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci

branches:
    only:
        - master

language: go

go:
    - 1.5
    - release

install:
    - go get github.com/alecthomas/gometalinter
    - gometalinter --install --update
    - go get github.com/axw/gocov/gocov
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/mattn/goveralls

script:
    - go get -v ./...
    - gometalinter ./...
    - goveralls -v -service=travis-ci

branches:
    only:
        - master

Switch from gosweep to gometalinter
Switch from gosweep to gometalinter
