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:
|
|
|
|
fetch:
|
2019-02-20 20:41:06 +00:00
|
|
|
image: therecipe/qt:linux
|
2019-02-20 20:36:16 +00:00
|
|
|
commands:
|
|
|
|
- go get
|
|
|
|
- go get -u golang.org/x/lint/golint
|
|
|
|
quality:
|
2019-02-20 20:41:06 +00:00
|
|
|
image: therecipe/qt:linux
|
2019-02-20 20:36:16 +00:00
|
|
|
commands:
|
|
|
|
- go list ./... | xargs go vet
|
|
|
|
- go list ./... | xargs golint -set_exit_status
|
|
|
|
build-x86:
|
2019-02-20 20:41:06 +00:00
|
|
|
image: therecipe/qt:linux
|
2019-02-20 20:36:16 +00:00
|
|
|
commands:
|
|
|
|
- qtdeploy build linux
|
|
|
|
build-android:
|
2019-02-20 20:41:06 +00:00
|
|
|
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
|