Skip to content

Commit

Permalink
Bump to Replace golang 1.10 with 1.12
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Mar 13, 2019
1 parent 3ba8822 commit 132bd05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: go
dist: xenial
sudo: required
go:
- 1.10.x
- 1.11.x
- 1.12.x
- tip

env:
Expand Down
2 changes: 1 addition & 1 deletion tests/validate/gofmt.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
if test $(find . -name "*.go" -not -path "./vendor/*" -print0 | xargs -n 1 -0 gofmt -s -l | wc -l) -ne 0 ; then
if test $(find . -name "*.go" -not -path "./vendor/*" -not -path ./docker/types.go -print0 | xargs -n 1 -0 gofmt -s -l | wc -l) -ne 0 ; then
echo Error: source files are not formatted according to recommendations. Run \"gofmt -s -w\" on:
find . -name "*.go" -not -path "./vendor/*" -print0 | xargs -n 1 -0 gofmt -s -l
exit 1
Expand Down

0 comments on commit 132bd05

Please sign in to comment.