drone.yml triggers to filter
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Ballard 2021-03-24 18:32:00 -07:00
parent d032211f27
commit a0a836ebc6
1 changed files with 10 additions and 0 deletions

View File

@ -18,10 +18,13 @@ steps:
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
- chmod a+x tor - chmod a+x tor
- go get -u golang.org/x/lint/golint - go get -u golang.org/x/lint/golint
- git fetch --tags
#- export GO111MODULE=on #- export GO111MODULE=on
#- go mod vendor #- go mod vendor
- go get - go get
# TODO: upgrade to go1.16, remove mod/vendor, add go install for 1.16 # TODO: upgrade to go1.16, remove mod/vendor, add go install for 1.16
- echo `git describe --tags` > VERSION
- echo `date +%G-%m-%d-%H-%M` > BUILDDATE
- name: quality - name: quality
image: golang image: golang
volumes: volumes:
@ -101,3 +104,10 @@ volumes:
# gopath where bin and pkg lives to persist across steps # gopath where bin and pkg lives to persist across steps
- name: deps - name: deps
temp: {} temp: {}
trigger:
repo: flutter/libcwtch-go
branch: trunk
event:
- push
- pull_request