소스 검색

Configure TravisCI to test with testcgo tag.

Dave Collins 11 년 전
부모
커밋
96dfb77570
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -3,7 +3,7 @@ go: 1.2
 install:
 install:
     - go get -v code.google.com/p/go.tools/cmd/cover
     - go get -v code.google.com/p/go.tools/cmd/cover
 script:
 script:
-    - go test -v ./spew -covermode=count -coverprofile=profile.cov
+    - go test -v -tags=testcgo ./spew -covermode=count -coverprofile=profile.cov
 after_success:
 after_success:
     - go get -v github.com/mattn/goveralls
     - go get -v github.com/mattn/goveralls
     - export PATH=$PATH:$HOME/gopath/bin
     - export PATH=$PATH:$HOME/gopath/bin