From 97063ee76decb4105ad3991dcf34432f5e009f9d Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Thu, 3 Aug 2017 15:48:09 +0900 Subject: update travis-ci for dep libraries are installed into vendor directory so we can't build go code outside. Signed-off-by: FUJITA Tomonori --- test/lib/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/lib') diff --git a/test/lib/base.py b/test/lib/base.py index 8f251283..08111420 100644 --- a/test/lib/base.py +++ b/test/lib/base.py @@ -120,8 +120,9 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path='', from_image='osrg/quagga'): c << 'FROM {0}'.format(from_image) c << 'RUN go get -d github.com/osrg/gobgp/...; exit 0' c << 'RUN rm -rf /go/src/github.com/osrg/gobgp' + c << 'RUN go get -u github.com/golang/dep/cmd/dep' c << 'ADD gobgp /go/src/github.com/osrg/gobgp/' - c << 'RUN go get github.com/osrg/gobgp/...' + c << 'RUN cd /go/src/github.com/osrg/gobgp && dep ensure && go install ./gobgpd ./gobgp' rindex = local_gobgp_path.rindex('gobgp') if rindex < 0: -- cgit v1.2.3