Skip to content

Commit 926c6b7

Browse files
committed
Use the cheaper "count" covermode
1 parent f991a8c commit 926c6b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
script: go build
1818
- stage: "Tests"
1919
name: "Unit Tests"
20-
script: go test ./... -coverprofile=coverage.txt -covermode=atomic
20+
script: go test ./... -coverprofile=coverage.txt -covermode=count
2121
after_success:
2222
- bash <(curl -s https://codecov.io/bash)
2323
- stage: "Code Quality"

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

3-
go test ./... -coverprofile=coverage.txt -covermode=atomic
3+
go test ./... -coverprofile=coverage.txt -covermode=count
44
go tool cover -html=coverage.txt

0 commit comments

Comments
 (0)