drone.yml triggers to filter
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d032211f27
commit
a0a836ebc6
10
.drone.yml
10
.drone.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue