language: go

before_install:
  - go get github.com/mattn/goveralls

script:
  - go test -v -cover -coverprofile coverage.out ./parser/
  - $HOME/gopath/bin/goveralls -coverprofile coverage.out -service=travis-ci

language: go

before_install:
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover

script:
  - go test -v -cover -coverprofile coverage.out ./parser/
  - $HOME/gopath/bin/goveralls -coverprofile coverage.out -service=travis-ci

Install cover command for go test.
Install cover command for go test.
