From: Matt Joiner Date: Fri, 22 Mar 2019 12:36:59 +0000 (+1100) Subject: Fix gomobile install in CI X-Git-Tag: v1.1.2~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=4813f1661427396ef01a5a781a09c773d1e4cff1;p=btrtrc.git Fix gomobile install in CI --- diff --git a/.circleci/config.yml b/.circleci/config.yml index aa61f2f1..daa8ec29 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,7 +51,7 @@ jobs: - run: go test -v -race ./... -count 2 - run: go test -bench . ./... - run: set +e; CGO_ENABLED=0 go test -v ./...; true - - run: go install golang.org/x/mobile/cmd/gomobile + - run: GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile - run: gomobile init - run: gomobile build -target=android $PROJECT_GO_PACKAGE # - run: GO111MODULE=off go install github.com/anacrolix/godo