Enable codecov
Yasuhiro Matsumoto
4 years ago
0 | 0 | language: go |
1 | sudo: false | |
1 | 2 | go: |
3 | - 1.13.x | |
2 | 4 | - tip |
5 | ||
3 | 6 | before_install: |
4 | - go get github.com/mattn/goveralls | |
5 | - go get golang.org/x/tools/cmd/cover | |
7 | - go get -t -v ./... | |
8 | ||
6 | 9 | script: |
7 | - go generate | |
8 | - git diff --cached --exit-code | |
9 | - $HOME/gopath/bin/goveralls -repotoken lAKAWPzcGsD3A8yBX3BGGtRUdJ6CaGERL | |
10 | - ./go.test.sh | |
11 | ||
12 | after_success: | |
13 | - bash <(curl -s https://codecov.io/bash) |