Skip to content

Commit

Permalink
Adding travis checks for linter (md-check).
Browse files Browse the repository at this point in the history
  • Loading branch information
foxish committed Aug 29, 2016
1 parent e0b5207 commit a34a79b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
language: go
go:
- 1.6
- 1.6.2

# Don't want default ./... here:
install: go get -t -v ./test
script: go test -v ./test
install:
- export PATH=$GOPATH/bin:$PATH
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kubernetes.github.io
- go get -t -v k8s.io/kubernetes.github.io/test
- git clone --depth=50 --branch=master https://github.com/kubernetes/md-check $HOME/gopath/src/k8s.io/md-check
- go get -t -v k8s.io/md-check

script:
- go test -v k8s.io/kubernetes.github.io/test
- $GOPATH/bin/md-check --root-dir=$HOME/gopath/src/k8s.io/kubernetes.github.io

0 comments on commit a34a79b

Please sign in to comment.