File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ before_install:
7
7
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose
8
8
- chmod +x docker-compose
9
9
- sudo mv docker-compose /usr/local/bin
10
+ - go get github.com/mattn/goveralls
10
11
11
12
script :
12
13
- make ci
14
+ - goveralls -coverprofile=profile.cov -service=travis-ci
Original file line number Diff line number Diff line change 1
1
# GoGPAT (Go GitLab Personal Access Token)
2
- [ ![ Build Status] ( https://travis-ci.org/solidnerd/gogpat.svg?branch=master )] ( https://travis-ci.org/solidnerd/gogpat )
2
+ [ ![ Build Status] ( https://travis-ci.org/solidnerd/gogpat.svg?branch=master )] ( https://travis-ci.org/solidnerd/gogpat ) [ ![ Coverage Status ] ( https://coveralls.io/repos/github/solidnerd/gogpat/badge.svg?branch=master )] ( https://coveralls.io/github/solidnerd/gogpat?branch=master )
3
3
4
4
GoGPAT helps you to create personal access token via cli.
5
5
Original file line number Diff line number Diff line change 9
9
sleep 10
10
10
done
11
11
popd
12
- go test -v ${PKG_LIST}
12
+ go test -v -covermode=count -coverprofile=profile.cov -timeout=1200s ${PKG_LIST}
13
13
pushd ci
14
14
docker-compose down -v
15
15
popd
You can’t perform that action at this time.
0 commit comments