]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix failure in CI on non-critical test due to set -e
authorMatt Joiner <anacrolix@gmail.com>
Mon, 11 Jun 2018 02:44:12 +0000 (12:44 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 11 Jun 2018 02:44:12 +0000 (12:44 +1000)
.circleci/config.yml

index f3ac8c0c9fbea5d09c017ef7d78176a67157b52f..d01aafdc68763cb556e933f691ae86442e7c1d6e 100644 (file)
@@ -25,7 +25,7 @@ jobs:
       - run: go test -v -race $PROJECT_GO_PACKAGE/...
       - run: go test -bench . $PROJECT_GO_PACKAGE/...
       - run: CGO_ENABLED=0 go get -t -d -v $PROJECT_GO_PACKAGE/...
-      - run: CGO_ENABLED=0 go test -v $PROJECT_GO_PACKAGE/... || true
+      - run: set +e; CGO_ENABLED=0 go test -v $PROJECT_GO_PACKAGE/...; true
       - run: go get golang.org/x/mobile/cmd/gomobile
       - run: gomobile init
       - run: gomobile build -target=android $PROJECT_GO_PACKAGE