mirror of
https://github.com/vbatts/dedupe-linker.git
synced 2024-11-15 21:28:37 +00:00
travis: adding travis config
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
e3900382c7
commit
09be2aa888
1 changed files with 21 additions and 0 deletions
21
.travis.yml
Normal file
21
.travis.yml
Normal 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
|
Loading…
Reference in a new issue