rclone/vendor/goftp.io/server/.drone.yml

29 lines
432 B
YAML
Raw Normal View History

2020-02-25 15:20:57 +01:00
---
2019-08-26 19:00:17 +02:00
kind: pipeline
2020-02-25 15:20:57 +01:00
name: testing
2019-08-26 19:00:17 +02:00
steps:
2020-02-25 15:20:57 +01:00
- name: fetch-tags
pull: default
image: docker:git
commands:
- git fetch --tags --force
when:
event:
exclude:
- pull_request
2019-08-26 19:00:17 +02:00
- name: test
2020-02-25 15:20:57 +01:00
pull: always
image: golang:1.13
2019-08-26 19:00:17 +02:00
commands:
2020-02-25 15:20:57 +01:00
- export PATH=$PATH:/go:/srv/app/bin
- go vet ./...
- go test -race ./...
environment:
GOPATH: /srv/app
when:
event:
- push
- tag
- pull_request