mirror of
https://github.com/vbatts/git-validation.git
synced 2024-11-17 13:58:39 +00:00
Vincent Batts
e3ba588c3a
* go vet * golint * whether the tool builds * tests (there are none yet) Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
20 lines
366 B
YAML
20 lines
366 B
YAML
language: go
|
|
go:
|
|
- 1.6
|
|
- 1.5.3
|
|
|
|
sudo: false
|
|
|
|
before_install:
|
|
- 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/git-validation && go get ./...
|
|
|
|
install: true
|
|
|
|
script:
|
|
- go vet -x ./...
|
|
- golint ./...
|
|
- go build .
|
|
- go test -v ./...
|
|
|