Skip to content

Commit 35fce86

Browse files
committed
ci: cache dependencies, add codecov
1 parent 26366b0 commit 35fce86

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ script:
3232

3333
after_success:
3434
- bash <(curl -s https://codecov.io/bash)
35+
36+
cache:
37+
directories:
38+
- $GOPATH/pkg/mod
39+
- $HOME/.cache/go-build

codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
coverage:
2+
precision: 2
3+
round: up
4+
range: "50...90"
5+
status:
6+
project:
7+
default:
8+
threshold: 1

0 commit comments

Comments
 (0)