ui/.drone.yml

34 lines
901 B
YAML
Raw Normal View History

2019-02-20 20:36:16 +00:00
workspace:
2019-02-20 20:51:32 +00:00
base: /home/user/work/src/
path: cwtch.im/ui
2019-02-20 20:36:16 +00:00
pipeline:
2019-02-20 21:02:07 +00:00
build-linux:
2019-02-20 20:59:37 +00:00
image: therecipe/qt:linux
commands:
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
2019-02-20 20:36:16 +00:00
- go get
- go get -u golang.org/x/lint/golint
- go list ./... | xargs go vet
- go list ./... | xargs golint -set_exit_status
- qtdeploy build linux
build-android:
image: therecipe/qt:android
2019-02-20 20:36:16 +00:00
commands:
- qtdeploy build android
notify-email:
image: drillster/drone-email
host: build.openprivacy.ca
port: 25
skip_verify: true
from: drone@openprivacy.ca
when:
status: [ failure ]
notify-gogs:
image: openpriv/drone-gogs
when:
event: pull_request
status: [ success, changed, failure ]
secrets: [gogs_account_token]
gogs_url: https://git.openprivacy.ca