mirror of
https://github.com/vbatts/git-validation.git
synced 2024-11-17 13:58:39 +00:00
Vincent Batts
8a12a8fc7a
https://github.com/opencontainers/runc/pull/1378#issuecomment-287920287 points to an alternate approach. Reported-by: Mrunal Patel <mrunalp@gmail.com> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
26 lines
No EOL
474 B
YAML
26 lines
No EOL
474 B
YAML
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 ./... |