Skip to content

Commit

Permalink
Merge pull request #8024 from johngmyers/travis-bazel
Browse files Browse the repository at this point in the history
Add more verifications to Travis
  • Loading branch information
k8s-ci-robot committed Dec 5, 2019
2 parents a21bdb2 + 7f2ad2e commit ba22bc2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -558,20 +558,18 @@ verify-staticcheck:

# ci target is for developers, it aims to cover all the CI jobs
# verify-gendocs will call kops target
# verify-package has to be after verify-gendoc, because with .gitignore for federation bindata
# it bombs in travis. verify-gendoc generates the bindata file.
# verify-package has to be after verify-gendocs, because with .gitignore for federation bindata
# it bombs in travis. verify-gendocs generates the bindata file.
.PHONY: ci
ci: govet goimports verify-gofmt verify-gomod verify-goimports verify-boilerplate verify-bazel verify-misspelling nodeup examples test | verify-gendocs verify-packages verify-apimachinery
echo "Done!"

# travis-ci is the target that travis-ci calls
# we skip tasks that rely on bazel and are covered by other jobs
# verify-gofmt: uses bazel, covered by pull-kops-verify-gofmt
# verify-bazel: uses bazel, covered by pull-kops-verify-bazel
# govet: covered by pull-kops-verify-govet
# verify-boilerplate: covered by pull-kops-verify-boilerplate
# govet needs to be after verify-goimports because it generates bindata.go
.PHONY: travis-ci
travis-ci: verify-misspelling verify-gomod verify-goimports nodeup examples test | verify-gendocs verify-packages verify-apimachinery
travis-ci: verify-gomod verify-goimports govet verify-boilerplate verify-bazel verify-misspelling nodeup examples test | verify-gendocs verify-packages verify-apimachinery
echo "Done!"

.PHONY: pr
Expand Down

0 comments on commit ba22bc2

Please sign in to comment.