Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 2b7ac09

Browse files
author
Solomon Hykes
committed
Merge pull request #23 from LK4D4/travis_yml_fixes
2 parents c54b657 + eaa4e94 commit 2b7ac09

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
language: go
22

3-
go: 1.2
4-
53
install:
6-
- go get ./...
4+
- go get -dt ./...
75
- go get code.google.com/p/go.tools/cmd/goimports
86
- go get code.google.com/p/go.tools/cmd/vet
97

108
script:
119
- go test ./...
12-
- test -z "$($HOME/gopath/bin/goimports -d . | tee /dev/tty)"
10+
- FMT="$($HOME/gopath/bin/goimports -d .)" && echo "$FMT" && test -z "$FMT"
1311
- go vet ./...

0 commit comments

Comments
 (0)