Add go's binpath when running system test.

This commit is contained in:
Andrey Smirnov
2014-01-21 17:10:49 +04:00
parent c9e8d98e37
commit 845ef28a79

View File

@@ -3,9 +3,11 @@ GOVERSION=$(shell go version | awk '{print $$3;}')
ifeq ($(TRAVIS), true)
GOVERALLS?=$(HOME)/gopath/bin/goveralls
SRCPATH?=$(HOME)/gopath/src
BINPATH=$(HOME)/gopath/bin
else
GOVERALLS?=goveralls
SRCPATH?=$(GOPATH)/src
BINPATH?=$(GOPATH)/bin
endif
ifeq ($(GOVERSION), go1.2)
@@ -44,7 +46,7 @@ check:
golint .
system-test:
python system/run.py
PATH=$(BINPATH):$(PATH) python system/run.py
travis: $(TRAVIS_TARGET) system-test