Skip to content

Commit

Permalink
use goproxy
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Molina <[email protected]>
  • Loading branch information
erizocosmico committed Aug 7, 2019
1 parent 1df9e0b commit c6979b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go_import_path: github.com/src-d/gitbase
go: 1.12.x

env:
- GO111MODULE=on
- GO111MODULE=on GOPROXY=https://proxy.golang.org

matrix:
fast_finish: true
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ WORKDIR $GITBASE_PATH
ENV GO_BUILD_ARGS="-o /bin/gitbase"
ENV GO_BUILD_PATH="./cmd/gitbase"
ENV GO111MODULE=on
ENV GOPROXY=https://proxy.golang.org

RUN make static-build

Expand Down

0 comments on commit c6979b2

Please sign in to comment.