diff --git a/.travis.yml b/.travis.yml index 3e57700..d875665 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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