mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
Add go's binpath when running system test.
This commit is contained in:
@@ -3,9 +3,11 @@ GOVERSION=$(shell go version | awk '{print $$3;}')
|
|||||||
ifeq ($(TRAVIS), true)
|
ifeq ($(TRAVIS), true)
|
||||||
GOVERALLS?=$(HOME)/gopath/bin/goveralls
|
GOVERALLS?=$(HOME)/gopath/bin/goveralls
|
||||||
SRCPATH?=$(HOME)/gopath/src
|
SRCPATH?=$(HOME)/gopath/src
|
||||||
|
BINPATH=$(HOME)/gopath/bin
|
||||||
else
|
else
|
||||||
GOVERALLS?=goveralls
|
GOVERALLS?=goveralls
|
||||||
SRCPATH?=$(GOPATH)/src
|
SRCPATH?=$(GOPATH)/src
|
||||||
|
BINPATH?=$(GOPATH)/bin
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(GOVERSION), go1.2)
|
ifeq ($(GOVERSION), go1.2)
|
||||||
@@ -44,7 +46,7 @@ check:
|
|||||||
golint .
|
golint .
|
||||||
|
|
||||||
system-test:
|
system-test:
|
||||||
python system/run.py
|
PATH=$(BINPATH):$(PATH) python system/run.py
|
||||||
|
|
||||||
travis: $(TRAVIS_TARGET) system-test
|
travis: $(TRAVIS_TARGET) system-test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user