ui/.drone.yml

41 lines
1.0 KiB
YAML
Raw Normal View History

2019-02-20 20:36:16 +00:00
workspace:
2019-02-21 23:16:46 +00:00
base: /media/sf_GOPATH1/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-22 00:25:59 +00:00
mem_limit: 3G
2019-02-20 20:59:37 +00:00
image: therecipe/qt:linux
2019-02-20 21:39:54 +00:00
environment:
- QT_DIR=/opt/Qt
- QT_DOCKER='true'
- QT_API=5.12.0
2019-02-20 20:59:37 +00:00
commands:
2019-02-22 21:49:59 +00:00
- echo $QT_DIR
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
- echo $GOPATH
- export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin
2019-02-22 00:47:38 +00:00
- echo $PATH
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