Skip to content

Commit

Permalink
travis: git-validation detects travis now
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
  • Loading branch information
vbatts committed Apr 5, 2016
1 parent 81b865d commit 7b501db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ go:
sudo: false

before_install:
- go get golang.org/x/tools/cmd/vet
- go get -u golang.org/x/tools/cmd/vet
- go version | (grep -q 'go1.[56]' || exit 0 && go get -u github.com/golang/lint/golint )
- go get github.com/vbatts/git-validation
- go get -u github.com/vbatts/git-validation

install: true

script:
- go vet -x ./...
- make .golint
- $HOME/gopath/bin/git-validation -run DCO,short-subject -v -range ${TRAVIS_COMMIT_RANGE}
- git-validation -run DCO,short-subject -v

0 comments on commit 7b501db

Please sign in to comment.