summaryrefslogtreecommitdiffstats
path: root/vendor/gitea.com/lunny/levelqueue/.drone.yml
blob: 883b79699c8e6d4c32652861a37bd59fc0add997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
kind: pipeline
name: test

workspace:
  base: /go
  path: src/gitea.com/lunny/levelqueue

steps:
- name: test
  pull: default
  image: golang:1.13
  commands:
  - go get -t -d -v ./...
  - go build -v
  - go test -v -race -coverprofile=coverage.txt -covermode=atomic
  environment:
    GO111MODULE: "on"
    GOPROXY: https://goproxy.cn
  when:
    event:
    - push
    - pull_request