Serge Bazanski | cc25bdf | 2018-10-25 14:02:58 +0200 | [diff] [blame] | 1 | clone: |
| 2 | path: github.com/go-openapi/loads |
| 3 | |
| 4 | matrix: |
| 5 | GO_VERSION: |
| 6 | - "1.6" |
| 7 | |
| 8 | build: |
| 9 | integration: |
| 10 | image: golang:$$GO_VERSION |
| 11 | pull: true |
| 12 | environment: |
| 13 | GOCOVMODE: "count" |
| 14 | commands: |
| 15 | - go get -u github.com/axw/gocov/gocov |
| 16 | - go get -u gopkg.in/matm/v1/gocov-html |
| 17 | - go get -u github.com/cee-dub/go-junit-report |
| 18 | - go get -u github.com/stretchr/testify/assert |
| 19 | - go get -u gopkg.in/yaml.v2 |
| 20 | - go get -u github.com/go-openapi/swag |
| 21 | - go get -u github.com/go-openapi/analysis |
| 22 | - go get -u github.com/go-openapi/spec |
| 23 | - ./hack/build-drone.sh |
| 24 | |
| 25 | notify: |
| 26 | slack: |
| 27 | channel: bots |
| 28 | webhook_url: $$SLACK_URL |
| 29 | username: drone |
| 30 | |
| 31 | publish: |
| 32 | coverage: |
| 33 | server: https://coverage.vmware.run |
| 34 | token: $$GITHUB_TOKEN |
| 35 | # threshold: 70 |
| 36 | # must_increase: true |
| 37 | when: |
| 38 | matrix: |
| 39 | GO_VERSION: "1.6" |