Codebase list golang-github-vbauerster-mpb / 34ad29f
codecov Vladimir Bauer 8 years ago
2 changed file(s) with 24 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
00 language: go
1 install:
2 - go get ./...
1 sudo: false
32 go:
4 - 1.8
5 - 1.7
6 - 1.6
7 - tip
3 - 1.7.x
4 - 1.8.x
5
6 before_install:
7 - go get -t -v ./...
8
9 script:
10 - ./go.test.sh
11
12 after_success:
13 - bash <(curl -s https://codecov.io/bash)
0 #!/usr/bin/env bash
1
2 set -e
3 echo "" > coverage.txt
4
5 for d in $(go list ./... | grep -v vendor); do
6 go test -race -coverprofile=profile.out -covermode=atomic $d
7 if [ -f profile.out ]; then
8 cat profile.out >> coverage.txt
9 rm profile.out
10 fi
11 done