Skip to content

Commit 61b7fc0

Browse files
committed
Add Travis CI configuration
1 parent d576530 commit 61b7fc0

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: go
2+
go:
3+
- 1.3
4+
- 1.4
5+
- tip
6+
install:
7+
- make get-deps
8+
script:
9+
- make all test

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ release: dist
3232
tar -cvzf docker-gen-linux-armhf-$(TAG).tar.gz -C dist/linux/armhf docker-gen
3333
tar -cvzf docker-gen-darwin-amd64-$(TAG).tar.gz -C dist/darwin/amd64 docker-gen
3434
tar -cvzf docker-gen-darwin-i386-$(TAG).tar.gz -C dist/darwin/i386 docker-gen
35+
36+
get-deps:
37+
go get github.com/robfig/glock
38+
glock sync -n < GLOCKFILE
39+
40+
test:
41+
go test

0 commit comments

Comments
 (0)