Adds Travis-CI testing

This commit adds Travis-CI testing, which allows
free and easy continuous integration for pull requests
and new commits. It also adds a `make deps` target
in the Makefile for easily adding the dependencies.

It can be enabled here:
http://docs.travis-ci.com/user/getting-started/#Step-one%3A-Sign-in

Just follow instructions 1-2, three is already done. Thanks.
This commit is contained in:
Brendan Ashworth 2014-12-13 10:47:35 -08:00
parent 857dcd0a14
commit 4227e0d8d4
2 changed files with 18 additions and 0 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: go
notifications:
email: false
install:
- make deps
default:
- make test
go:
- 1.3
- 1.4
- tip

View File

@ -10,6 +10,9 @@ all: $(BINARY)
$(BINARY): **/*.go *.go
go build .
deps:
go get .
build: $(BINARY)
clean: