summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-05 22:56:55 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-05-05 23:29:42 +0900
commit9c8dca5b697a49611fd780204abf77947fe16f12 (patch)
treeb36f2301344f86f5d5816355c0cdc160444954ba /test
parent58bff63736bb058df44064bff3cb443e2675befb (diff)
travis-ci: workaround for
go get doesn't work for github.com/kr/text because it doesn't have master branch somehow. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r--test/lib/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index d64afdae..fc7d9713 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -83,6 +83,7 @@ def make_gobgp_ctn(tag='gobgp', local_gobgp_path='', from_image='osrg/quagga'):
c = CmdBuffer()
c << 'FROM {0}'.format(from_image)
+ c << 'RUN mkdir -p /go/src/github.com/kr && cd /go/src/github.com/kr && git clone https://github.com/kr/text && cd /go/src/github.com/kr/text && git checkout -b master main'
c << 'ADD gobgp /go/src/github.com/osrg/gobgp/'
c << 'RUN go get github.com/osrg/gobgp/gobgpd'
c << 'RUN go install github.com/osrg/gobgp/gobgpd'