Jelajahi Sumber

Changed travis config

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 10 tahun lalu
induk
melakukan
cccd133a02
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      .travis.yml

+ 4 - 2
.travis.yml

@@ -2,8 +2,10 @@ language: go
 go:
     - tip
 before_install:
-    - go get github.com/axw/gocov/gocov
+    - go get github.com/modocache/gover
     - go get github.com/mattn/goveralls
     - go get golang.org/x/tools/cmd/cover
 script:
-    - $HOME/gopath/bin/goveralls -service=travis-ci
+    - go test ./...
+    - $HOME/gopath/bin/gover
+    - $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci