ci: fix travis.yml so that failure is captured properly

subtle errors in the config were causing test failures to be ignored
This commit is contained in:
Karan Misra 2014-04-06 04:06:22 +05:30
parent 2172e9384c
commit 0c193071ed
1 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@ go:
- tip
script:
- go test -bench=. -v ./... | grep -v 'no test files'
- pushd samples && find . -name "*.go" -exec go build {} \; && popd
- go test -bench=. -v ./... | grep -v 'no test files' ; test ${PIPESTATUS[0]} -eq 0
- cd samples; find . -name "*.go" -print0 | xargs -0 -n1 go build