1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 12:50:19 +01:00

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

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