]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix gomobile install in CI
authorMatt Joiner <anacrolix@gmail.com>
Fri, 22 Mar 2019 12:36:59 +0000 (23:36 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 22 Mar 2019 12:36:59 +0000 (23:36 +1100)
.circleci/config.yml

index aa61f2f1044af64b19fc9d5f76c5d9e384ab1106..daa8ec295d6524fada71b7cdcca3441d12d4c859 100644 (file)
@@ -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