We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813e22a commit 1d19042Copy full SHA for 1d19042
.travis.yml
@@ -6,4 +6,8 @@ go:
6
- master
7
8
script:
9
- go test -v ./...
+ - go test -v ./...
10
+ - ./test.sh
11
+
12
+after_success:
13
+ - bash <(curl -s https://codecov.io/bash) -t 6e0ff3d8-4792-4b3e-aedf-c589ad356179
test.sh
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
3
+set -e
4
+echo "" > coverage.txt
5
+for d in $(go list ./... | grep -v vendor); do
+ go test -race -coverprofile=profile.out -covermode=atomic $d
+ if [ -f profile.out ]; then
+ cat profile.out >> coverage.txt
+ rm profile.out
+ fi
+done
0 commit comments