Skip to content

Commit 0ee8398

Browse files
pmoriekibbles-n-bytes
authored andcommitted
Build the integration test binary before running any tests (openshift#1666)
1 parent 0fe0aa7 commit 0ee8398

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cache:
66
directories:
77
- .glide
88
script:
9-
- make verify build build-e2e test images
9+
- make verify build build-integration build-e2e test images
1010
deploy:
1111
skip_cleanup: true
1212
provider: script

Diff for: Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ test-unit: .init build
254254
$(DOCKER_CMD) go test -race $(UNIT_TEST_FLAGS) \
255255
$(addprefix $(SC_PKG)/,$(TEST_DIRS)) $(UNIT_TEST_LOG_FLAGS)
256256

257-
test-integration: .init $(scBuildImageTarget) build
257+
build-integration: .generate_files
258+
$(DOCKER_CMD) go test -race github.com/kubernetes-incubator/service-catalog/test/integration/... -c
259+
260+
test-integration: .init $(scBuildImageTarget) build build-integration
258261
# test kubectl
259262
contrib/hack/setup-kubectl.sh
260263
contrib/hack/test-apiserver.sh

0 commit comments

Comments
 (0)