ui/.drone.yml

37 lines
892 B
YAML
Raw Normal View History

2019-02-20 20:36:16 +00:00
workspace:
2019-02-20 21:54:50 +00:00
base: /home/user/work/src/cwtch.im
path: 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
2019-02-20 21:39:54 +00:00
environment:
2019-02-20 21:41:11 +00:00
QT_DIR: /opt/Qt
QT_DOCKER: 'true'
2019-02-21 19:44:04 +00:00
GOPATH: /home/user/work/
2019-02-20 20:59:37 +00:00
commands:
2019-02-21 19:44:04 +00:00
- echo "PWD:"
- pwd
2019-02-20 20:59:37 +00:00
- 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
- 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