Skip to content

Commit

Permalink
Merge branch 'travis-run-tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jan 6, 2017
2 parents 2d77842 + 9840dc4 commit 7289b21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go:
services:
- docker
script:
- make check
- make controller
- docker build -t zlabjp/nghttpx-ingress-controller .
after_success:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ifndef VERSION
VERSION := git-$(shell git rev-parse --short HEAD)
endif

.PHONY: controller container push clean vet fmt
.PHONY: controller container push clean vet fmt check

controller: clean
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags \
Expand All @@ -32,3 +32,6 @@ vet:

fmt:
go fmt github.com/zlabjp/nghttpx-ingress-lb/pkg/...

check:
go test github.com/zlabjp/nghttpx-ingress-lb/pkg/...

0 comments on commit 7289b21

Please sign in to comment.