Skip to content

Commit 98c57b8

Browse files
Merge pull request #130 from estesp/travis-project
Add common project validation scripts
2 parents 7f53d41 + f192d1b commit 98c57b8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@ env:
1515
- TRAVIS_GOOS=linux
1616
- TRAVIS_GOOS=darwin
1717

18+
install:
19+
- go get -u github.com/vbatts/git-validation
20+
- go get -u github.com/kunalkushwaha/ltag
21+
- go get -u github.com/LK4D4/vndr
22+
23+
before_script:
24+
- pushd ..; git clone https://github.com/containerd/project; popd
25+
1826
script:
1927
- export GOOS=${TRAVIS_GOOS}
28+
- DCO_VERBOSITY=-q ../project/script/validate/dco
29+
- ../project/script/validate/fileheader ../project/
30+
- ../project/script/validate/vendor
2031
- make build binaries
2132
- if [ "$GOOS" = "linux" ]; then make vet test; fi
2233
- if [ "$GOOS" != "linux" ]; then make test-compile; fi

0 commit comments

Comments
 (0)