diff options
| author | Dave Collins <[email protected]> | 2014-03-27 04:58:48 -0500 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2014-03-27 04:58:48 -0500 |
| commit | 8ae4f2591e7dcdeb931ac03acbe77ac96d8e7baa (patch) | |
| tree | c446074d0168dd65ca509f9ef424d1c690699d1b | |
| parent | 110c37a4d1ce1f25ae42a5626dce2dd6fd4da243 (diff) | |
Setup TravisCI to report cov stats to coveralls.io.
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index fb9efcb..2633c21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,11 @@ language: go go: 1.2 +install: + - go get -v code.google.com/p/go.tools/cmd/cover +script: + - go test -v ./spew -covermode=count -coverprofile=profile.cov +after_success: + - go get -v github.com/mattn/goveralls + - export PATH=$PATH:$HOME/gopath/bin + - cd ./spew + - goveralls -v -service travis-ci |
