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

Commit eaa4e94

Browse files
committed
Fixes to .travis.yml that was suggested by tianon
Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
1 parent 3306292 commit eaa4e94

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)