mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-08-02 03:20:27 +00:00
travis: add travis check
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
b595e50fec
commit
c3855dab6d
5 changed files with 27 additions and 6 deletions
20
.travis.yml
Normal file
20
.travis.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
language: go
|
||||
go:
|
||||
- 1.6
|
||||
- 1.5.3
|
||||
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- git config --global url."https://".insteadOf git://
|
||||
- go get golang.org/x/tools/cmd/vet
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/go-mtree
|
||||
- go get ./...
|
||||
|
||||
install: true
|
||||
|
||||
script:
|
||||
- go vet -x ./...
|
||||
- golint ./...
|
||||
- go test -v ./...
|
Loading…
Add table
Add a link
Reference in a new issue