drone.yml rely on trigger, rm most when
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
a0a836ebc6
commit
77247bc4b9
28
.drone.yml
28
.drone.yml
|
@ -9,10 +9,6 @@ steps:
|
|||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
commands:
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
|
||||
|
@ -25,15 +21,12 @@ steps:
|
|||
# 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
|
||||
image: golang
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
commands:
|
||||
- go list ./... | xargs go vet
|
||||
- go list ./... | xargs golint
|
||||
|
@ -44,10 +37,6 @@ steps:
|
|||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
commands:
|
||||
- make linux
|
||||
|
||||
|
@ -56,10 +45,6 @@ steps:
|
|||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
commands:
|
||||
- go mod download
|
||||
- gomobile init
|
||||
|
@ -72,10 +57,6 @@ steps:
|
|||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
commands:
|
||||
- make windows
|
||||
|
||||
|
@ -86,16 +67,11 @@ steps:
|
|||
skip_verify: true
|
||||
from: drone@openprivacy.ca
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: [ push, pull_request ]
|
||||
status: [ failure ]
|
||||
|
||||
- name: notify-gogs
|
||||
image: openpriv/drone-gogs
|
||||
when:
|
||||
repo: flutter/libcwtch-go
|
||||
branch: trunk
|
||||
event: pull_request
|
||||
status: [ success, changed, failure ]
|
||||
secrets: [gogs_account_token]
|
||||
gogs_url: https://git.openprivacy.ca
|
||||
|
|
Loading…
Reference in New Issue