travis: adding travis config

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-09-13 09:57:42 -04:00
parent e3900382c7
commit 09be2aa888
Signed by: vbatts
GPG Key ID: 10937E57733F1362
1 changed files with 21 additions and 0 deletions

21
.travis.yml Normal file
View File

@ -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