From 09be2aa8885986d60214377385c83f9006d50a5b Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 13 Sep 2016 09:57:42 -0400 Subject: [PATCH] travis: adding travis config Signed-off-by: Vincent Batts --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..67fe4d6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: go +go: + - 1.7.1 + - 1.6.3 + - 1.5.4 + +sudo: false + +before_install: + - git config --global url."https://".insteadOf git:// + - go get -u github.com/golang/lint/golint + - mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/dedupe-linker + - go get ./... + +install: true + +script: + - go vet -x ./... + - golint -set_exit_status ./... + - go test -v ./... + - go build -x github.com/vbatts/dedupe-linker