1
0
Fork 0

Fail testing fast

master
Philip O'Toole 2 years ago
parent c9e3691c51
commit 2d982f05c4

@ -24,7 +24,7 @@ jobs:
- run: go get -v -t -d ./...
- run: bash gofmt.sh
- run: go vet ./...
- run: go test ./...
- run: go test -failfast ./...
# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
resource_class: large
@ -48,7 +48,7 @@ jobs:
# BoltDB, no longer maintained, has pointer issues. However, it's run
# for years without actual issue so disabling the pointer tests
- run: go version
- run: go get -t -d ./...
- run: go get -t -failfast -d ./...
- run:
command: go test -v -timeout 20m -gcflags=all=-d=checkptr=0 -race ./...
environment:

@ -21,7 +21,7 @@ build_script:
- set LINKER_PKG_PATH=github.com/rqlite/rqlite/cmd
- go version
- go get ./...
- go test ./...
- go test -failfast ./...
- go install -ldflags="-X %LINKER_PKG_PATH%.Branch=%APPVEYOR_REPO_BRANCH% -X %LINKER_PKG_PATH%.Commit=%APPVEYOR_REPO_COMMIT%" ./...
after_build:

Loading…
Cancel
Save