summaryrefslogtreecommitdiffstats
path: root/vendor/xorm.io/builder/.drone.yml
blob: 61d323d5f6a012f6f63cd6f0acc33cbfb03531e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
kind: pipeline
name: testing

steps:
- name: test
  pull: default
  image: golang:1.11
  commands:
  - go get -u golang.org/x/lint/golint
  - golint ./...
  - go vet
  - go test -v -race -coverprofile=coverage.txt -covermode=atomic
  environment:
    GOPROXY: https://goproxy.cn
    GO111MODULE: "on"
  when:
    event:
    - push
    - tag
    - pull_request