Skip to content

Commit 283d5e1

Browse files
committed
travis: git-validation detects travis now
The `-range` argument is not needed. Signed-off-by: Vincent Batts <[email protected]>
1 parent 81b865d commit 283d5e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ go:
88
sudo: false
99

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

1515
install: true
1616

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

0 commit comments

Comments
 (0)