Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit e9d6340

Browse files
zcheejessfraz
authored andcommitted
fix '|&' shell pipe on travis osx vm
'|&' is despite syntax error on travis osx vm, but test passes. Fix avoid sdboyer/gps testdata error message using 2>&1 Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 510dcdd commit e9d6340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
script:
1717
- go build -v
1818
- go vet $(go list ./... | grep -v vendor)
19-
- test -z "$(gofmt -s -l . |& grep -v vendor | tee /dev/stderr)"
19+
- test -z "$(gofmt -s -l . 2>&1 | grep -v vendor | tee /dev/stderr)"
2020
- go test $(go list ./... | grep -v vendor)
2121
- go build ./hack/licenseok
2222
- find . -path ./vendor -prune -o -type f -name "*.go" -printf '%P\n' | xargs ./licenseok

0 commit comments

Comments
 (0)