Browse Source

Setup TravisCI to report cov stats to coveralls.io.

Dave Collins 11 years ago
parent
commit
8ae4f2591e
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .travis.yml

+ 9 - 0
.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