Browse Source

Configure TravisCI to test with testcgo tag.

Dave Collins 11 năm trước cách đây
mục cha
commit
96dfb77570
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -3,7 +3,7 @@ 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
+    - go test -v -tags=testcgo ./spew -covermode=count -coverprofile=profile.cov
 after_success:
     - go get -v github.com/mattn/goveralls
     - export PATH=$PATH:$HOME/gopath/bin