Skip to content

Commit c6979b2

Browse files
committed
use goproxy
Signed-off-by: Miguel Molina <[email protected]>
1 parent 1df9e0b commit c6979b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go_import_path: github.com/src-d/gitbase
44
go: 1.12.x
55

66
env:
7-
- GO111MODULE=on
7+
- GO111MODULE=on GOPROXY=https://proxy.golang.org
88

99
matrix:
1010
fast_finish: true

Diff for: Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ WORKDIR $GITBASE_PATH
1414
ENV GO_BUILD_ARGS="-o /bin/gitbase"
1515
ENV GO_BUILD_PATH="./cmd/gitbase"
1616
ENV GO111MODULE=on
17+
ENV GOPROXY=https://proxy.golang.org
1718

1819
RUN make static-build
1920

0 commit comments

Comments
 (0)