Skip to content

Commit 9f855fa

Browse files
author
Peter Kieltyka
committed
Add travis file
1 parent 78dc2f6 commit 9f855fa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: go
2+
3+
go:
4+
- 1.7.x
5+
- 1.8.x
6+
- tip
7+
8+
install:
9+
- go get -u golang.org/x/tools/cmd/goimports
10+
11+
script:
12+
- go get -d -t ./...
13+
- go test ./...
14+
- >
15+
goimports -d -e ./ | grep '.*' && { echo; echo "Aborting due to non-empty goimports output."; exit 1; } || :

0 commit comments

Comments
 (0)