language: go
sudo: false

go:
  - 1.8
  - tip

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

install:
  - ./script/travis_install.sh

script:
  - go test -v -cover ./pkg/...
  - go test -race ./pkg/...
#  NOTE: cannot use test profile flag with multiple packages
#  - go test -covermode=count -coverprofile=coverage.out ./pkg/...
  - overalls -project=github.com/xephonhq/xephon-k/pkg -debug

after_success:
  - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=overalls.coverprofile
language: go
sudo: false

go:
  - 1.8
  - tip

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

install:
  - ./script/travis_install.sh

script:
  - go test -v -cover ./pkg/...
  - go test -race ./pkg/...
#  NOTE: cannot use test profile flag with multiple packages
#  - go test -covermode=count -coverprofile=coverage.out ./pkg/...
  - overalls -project=github.com/xephonhq/xephon-k/pkg -debug

after_success:
  - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=pkg/overalls.coverprofile
Fix coverage report introduce by f0fa155a83
[test] Fix coverage report introduce by f0fa155a83

- in order to avoid coverage report on playground code, I changed
overalls to run test on `pkg` instead of `.`, which result in `overalls.coverprofile`
generated in `pkg` folder, so goveralls can't find
`overalls.coverprofile` because it is not in project root
