1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2024-12-29 08:46:31 +00:00
git-validation/.travis.yml

26 lines
474 B
YAML
Raw Normal View History

language: go
go:
- tip
- 1.7
- 1.6
sudo: false
before_install:
- 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 ./...
before_script:
- echo $TRAVIS_COMMIT
- echo $TRAVIS_BRANCH
- echo $TRAVIS_TAG
- echo $TRAVIS_BUILD_NUMBER
- echo $TRAVIS_REPO_SLUG
install: true
script:
- go vet -x ./...
- golint ./...
- go build .
- go test -v ./...