Skip to content

Commit 55fd71b

Browse files
committed
use codecov
1 parent ce28ac3 commit 55fd71b

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.travis.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
language: go
2+
sudo: false
3+
24
go:
5+
- 1.8
6+
- 1.9
7+
- 1.10
38
- tip
49

5-
install:
6-
- go get -u golang.org/x/tools/cmd/goimports
7-
- go get -u github.com/golang/lint/golint
10+
env:
11+
global:
12+
- secure: "qXGZbIMjPajPVfd/js8AeIIcCvglHAuxGC6rsf8+yQvHHNHwnoIBO5StLJqp9Wbx0HfZLb2PzZBE0jPItMA9pYZZv0jCRqb18veS6DEzeVRSZJscR7LB1W8lEW5HbOm2r3tjyJzPh9PsvzmYxSLlo8zN1k7LNIIDrZbjMst6O4Y="
13+
14+
before_install:
15+
- go get -t -v ./...
816

917
script:
1018
- go test ./...
11-
- diff <(goimports -d .) <(printf "")
12-
- diff <(golint ./...) <(printf "")
19+
20+
after_success:
21+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)