diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..e00a5953 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,38 @@ +workspace: + base: /go + path: src/cwtch.im/ui + +pipeline: + fetch: + image: therecipe/qt + commands: + - go get + - go get -u golang.org/x/lint/golint + quality: + image: therecipe/qt + commands: + - go list ./... | xargs go vet + - go list ./... | xargs golint -set_exit_status + build-x86: + image: therecipe/qt + commands: + - qtdeploy build linux + build-android: + image: therecipe/qt + 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