Commit 053b6731 authored by Maciej Szulik's avatar Maciej Szulik

Use make verify in Travis and Shippable instead of invoking a list of scripts by hand

parent 282bf64d
...@@ -13,16 +13,7 @@ install: ...@@ -13,16 +13,7 @@ install:
- export PATH=$GOPATH/bin:./third_party/etcd:$PATH - export PATH=$GOPATH/bin:./third_party/etcd:$PATH
script: script:
- ./hack/verify-gofmt.sh - make verify BRANCH=$TRAVIS_BRANCH
- ./hack/verify-boilerplate.sh
- ./hack/verify-description.sh
- ./hack/verify-generated-conversions.sh
- ./hack/verify-generated-deep-copies.sh
- ./hack/verify-generated-docs.sh
- ./hack/verify-swagger-spec.sh
- ./hack/verify-linkcheck.sh
- ./hack/verify-flags-underscore.py
- ./hack/verify-godeps.sh $TRAVIS_BRANCH
notifications: notifications:
irc: "chat.freenode.net#kubernetes-dev" irc: "chat.freenode.net#kubernetes-dev"
...@@ -34,8 +34,12 @@ all: ...@@ -34,8 +34,12 @@ all:
# Runs all the presubmission verifications. # Runs all the presubmission verifications.
# #
# Args:
# BRANCH: Branch to be passed to hack/verify-godeps.sh script.
#
# Example: # Example:
# make verify # make verify
# make verify BRANCH=branch_x
verify: verify:
hack/verify-gofmt.sh hack/verify-gofmt.sh
hack/verify-boilerplate.sh hack/verify-boilerplate.sh
...@@ -46,7 +50,7 @@ verify: ...@@ -46,7 +50,7 @@ verify:
hack/verify-swagger-spec.sh hack/verify-swagger-spec.sh
hack/verify-linkcheck.sh hack/verify-linkcheck.sh
hack/verify-flags-underscore.py hack/verify-flags-underscore.py
hack/verify-godeps.sh hack/verify-godeps.sh $(BRANCH)
.PHONY: verify .PHONY: verify
# Build and run tests. # Build and run tests.
......
...@@ -42,17 +42,8 @@ install: ...@@ -42,17 +42,8 @@ install:
- ./hack/build-go.sh - ./hack/build-go.sh
- godep go install ./... - godep go install ./...
- ./hack/travis/install-etcd.sh - ./hack/travis/install-etcd.sh
- ./hack/verify-gofmt.sh
- ./hack/verify-boilerplate.sh
- ./hack/verify-description.sh
- ./hack/verify-flags-underscore.py
- ./hack/verify-godeps.sh ${BASE_BRANCH}
- ./hack/travis/install-std-race.sh - ./hack/travis/install-std-race.sh
- ./hack/verify-generated-conversions.sh - make verify BRANCH=${BASE_BRANCH}
- ./hack/verify-generated-deep-copies.sh
- ./hack/verify-generated-docs.sh
- ./hack/verify-swagger-spec.sh
- ./hack/verify-linkcheck.sh
script: script:
# Disable coverage collection on pull requests # Disable coverage collection on pull requests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment