Skip to content

Commit

Permalink
Post-graduation updates (zalando#495)
Browse files Browse the repository at this point in the history
* update generated code

* update glide.lock

* Verify staleness of generated code during build and before running tests
  • Loading branch information
sdudoladov authored Feb 26, 2019
1 parent 29f5e4f commit 74cc9a4
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ install:
- make deps

script:
- hack/verify-codegen.sh
- travis_wait 20 goveralls -service=travis-ci -package ./pkg/... -v
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ clean:
rm -rf build scm-source.json

local: ${SOURCES}
hack/verify-codegen.sh
CGO_ENABLED=${CGO_ENABLED} go build -o build/${BINARY} $(LOCAL_BUILD_FLAGS) -ldflags "$(LDFLAGS)" $^

linux: ${SOURCES}
Expand Down Expand Up @@ -88,4 +89,5 @@ deps:
@glide install --strip-vendor

test:
hack/verify-codegen.sh
@go test ./...
24 changes: 16 additions & 8 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion pkg/apis/acid.zalan.do/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74cc9a4

Please sign in to comment.