blob: b950e42965f00b5cb416bf64e0b8e929c7fd1c58 [file] [log] [blame]
Girish Kumar46d7c3a2020-05-18 12:06:33 +00001language: go
2
3matrix:
4 include:
khenaidoo26721882021-08-11 17:42:52 -04005 - go: "1.13.x"
6 - go: "1.14.x"
Girish Kumar46d7c3a2020-05-18 12:06:33 +00007 - go: "tip"
8 env:
9 - LINT=true
10 - COVERAGE=true
11
12install:
13 - if [ "$LINT" == true ]; then go get -u golang.org/x/lint/golint/... ; else echo 'skipping lint'; fi
14 - go get -u github.com/stretchr/testify/...
15
16script:
17 - make test
18 - go build ./...
19 - if [ "$LINT" == true ]; then make lint ; else echo 'skipping lint'; fi
20 - if [ "$COVERAGE" == true ]; then make cover && bash <(curl -s https://codecov.io/bash) ; else echo 'skipping coverage'; fi