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

steps:
- name: test
  image: golang:1.11
  environment:
      GOPROXY: https://goproxy.cn
  commands:
  - go build -v
  - go test -v -race -coverprofile=coverage.txt -covermode=atomic

---
kind: pipeline
name: go1-1-2

steps:
- name: test
  image: golang:1.12
  environment:
      GOPROXY: https://goproxy.cn
  commands:
  - go build -v
  - go test -v -race -coverprofile=coverage.txt -covermode=atomic