File: .drone.yml

package info (click to toggle)
golang-code.gitea-sdk 0.0~git20171220.79eee8f-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 264 kB
  • sloc: makefile: 36
file content (34 lines) | stat: -rw-r--r-- 650 bytes parent folder | download
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
workspace:
  base: /srv/app
  path: src/code.gitea.io/sdk

clone:
  git:
    image: plugins/git:1
    depth: 50
    tags: true

pipeline:
  testing:
    image: webhippie/golang:edge
    pull: true
    commands:
      - make clean
      - make vet
      - make lint
      - make test
      - make build

  # coverage:
  #   image: plugins/coverage:1
  #   pull: true
  #   secrets: [ github_token ]
  #   server: https://coverage.gitea.io

  discord:
    image: appleboy/drone-discord:1.0.0
    pull: true
    secrets: [ discord_webhook_id, discord_webhook_token ]
    when:
      event: [ push, tag, pull_request ]
      status: [ changed, failure ]