File: .drone.yml

package info (click to toggle)
golang-github-go-openapi-runtime 0.0~git20160704.0.11e322e-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 896 kB
  • ctags: 802
  • sloc: sh: 16; makefile: 4
file content (40 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
clone:
  path: github.com/go-openapi/validate

matrix:
  GO_VERSION:
    - "1.6"

build:
  integration:
    image: golang:$$GO_VERSION
    pull: true
    commands:
      - go get -u github.com/axw/gocov/gocov
      - go get -u gopkg.in/matm/v1/gocov-html
      - go get -u github.com/cee-dub/go-junit-report
      - go get -u github.com/stretchr/testify/assert
      - go get -u gopkg.in/yaml.v2
      - go get -u github.com/go-openapi/analysis
      - go get -u github.com/go-openapi/errors
      - go get -u github.com/go-openapi/loads
      - go get -u github.com/go-openapi/strfmt
      - go get -u github.com/go-openapi/runtime
      - go test -race
      - go test -v -cover -coverprofile=coverage.out -covermode=count

notify:
  slack:
    channel: bots
    webhook_url: $$SLACK_URL
    username: drone

publish:
  coverage:
    server: https://coverage.vmware.run
    token: $$GITHUB_TOKEN
    # threshold: 70
    # must_increase: true
    when:
      matrix:
        GO_VERSION: "1.6"