Browse Source

Configure TravisCI goveralls call correctly.

By default goveralls tries to use gocov.  This modifies it to use the
cover profile provided by go test instead.
Dave Collins 11 năm trước cách đây
mục cha
commit
2d30de540a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -8,4 +8,4 @@ after_success:
     - go get -v github.com/mattn/goveralls
     - export PATH=$PATH:$HOME/gopath/bin
     - cd ./spew
-    - goveralls -v -service travis-ci
+    - goveralls coverprofile=profile.cov -service=travis-ci