Skip to content

Commit 10e2468

Browse files
committed
Trying to fix integration tests runner in Travis
1 parent 9496246 commit 10e2468

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
NO_COLOR=\033[0m
22
OK_COLOR=\033[32;01m
33

4+
PKG_SRC := github.com/hellofresh/goengine
5+
46
vet:
57
@echo "$(OK_COLOR)==> checking code correctness with 'go vet' tool$(NO_COLOR)"
68
@go vet ./...
@@ -11,7 +13,7 @@ lint: tools.golint
1113

1214
test-integration: lint vet
1315
@echo "$(OK_COLOR)==> Running integration tests$(NO_COLOR)"
14-
@STORAGE_DSN=mongodb://localhost:27017/ BROKER_DSN=amqp://guest:guest@localhost:5672/ go run ./cmd/goengine/...
16+
@STORAGE_DSN=mongodb://localhost:27017/ BROKER_DSN=amqp://guest:guest@localhost:5672/ go run $(PKG_SRC)/cmd/goengine/...
1517

1618
test-unit: lint vet
1719
@echo "$(OK_COLOR)==> Running unit tests$(NO_COLOR)"

0 commit comments

Comments
 (0)