From 4227e0d8d47c97cfb81eb39b24b5c9e6a60e98f1 Mon Sep 17 00:00:00 2001 From: Brendan Ashworth Date: Sat, 13 Dec 2014 10:47:35 -0800 Subject: [PATCH] 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. --- .travis.yml | 15 +++++++++++++++ Makefile | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a557a20 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: go + +notifications: + email: false + +install: + - make deps + +default: + - make test + +go: + - 1.3 + - 1.4 + - tip \ No newline at end of file diff --git a/Makefile b/Makefile index 54f516c..7638bec 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,9 @@ all: $(BINARY) $(BINARY): **/*.go *.go go build . +deps: + go get . + build: $(BINARY) clean: