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:
parent
2172e9384c
commit
0c193071ed
@ -6,5 +6,5 @@ go:
|
|||||||
- tip
|
- tip
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -bench=. -v ./... | grep -v 'no test files'
|
- go test -bench=. -v ./... | grep -v 'no test files' ; test ${PIPESTATUS[0]} -eq 0
|
||||||
- pushd samples && find . -name "*.go" -exec go build {} \; && popd
|
- cd samples; find . -name "*.go" -print0 | xargs -0 -n1 go build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user