Skip to content

Commit

Permalink
Enable E2E test running on Travis CI
Browse files Browse the repository at this point in the history
- We want Travis build to fail if E2E tests fail.
- Renamed "perf-test" makefile target to "e2e-test" (since these
  are not just perf tests but also other types of end-to-end tests).

Issue: open-telemetry#68
  • Loading branch information
Tigran Najaryan committed Jun 28, 2019
1 parent f28c6b8 commit 0e064d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,17 @@ all-srcs:
.PHONY: fmt-vet-lint-test
fmt-vet-lint-test: fmt vet lint test

.PHONY: perf-test
perf-test: otelsvc
.PHONY: e2e-test
e2e-test: otelsvc
$(MAKE) -C testbed runtests

.PHONY: test
test:
$(GOTEST) $(GOTEST_OPT) $(ALL_PKGS)

.PHONY: travis-ci
travis-ci: fmt vet lint test-with-cover
travis-ci: fmt vet lint test-with-cover otelsvc
$(MAKE) -C testbed runtests

.PHONY: test-with-cover
test-with-cover:
Expand Down
1 change: 1 addition & 0 deletions testbed/testbed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mockbackend.log
1 change: 1 addition & 0 deletions testbed/tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
results/*

0 comments on commit 0e064d4

Please sign in to comment.