mirror of
https://github.com/kidoman/embd
synced 2024-12-22 04:40:04 +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
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user