| Girish Kumar | 93e9174 | 2020-07-27 16:43:19 +0000 | [diff] [blame^] | 1 | sudo: false |
| 2 | language: go | ||||
| 3 | go: | ||||
| 4 | - 1.8.x | ||||
| 5 | env: | ||||
| 6 | - DEP_VERSION="0.3.2" | ||||
| 7 | |||||
| 8 | before_install: | ||||
| 9 | # Download the binary to bin folder in $GOPATH | ||||
| 10 | - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep | ||||
| 11 | # Make the binary executable | ||||
| 12 | - chmod +x $GOPATH/bin/dep | ||||
| 13 | |||||
| 14 | install: | ||||
| 15 | - dep ensure | ||||
| 16 | |||||
| 17 | script: | ||||
| 18 | - make test | ||||
| 19 | |||||
| 20 | after_success: | ||||
| 21 | - bash <(curl -s https://codecov.io/bash) | ||||