1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2025-06-01 01:34:09 +02:00

New drone config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-04-12 11:14:05 +02:00
parent d39f826e0e
commit b368a93e2e
No known key found for this signature in database
GPG Key ID: F941078878347C0C

View File

@ -1,11 +1,8 @@
clone: kind: pipeline
git: name: qt-5.7
image: plugins/git
tags: true
depth: 1
pipeline: steps:
qt-5.7: - name: build and test
image: nextcloudci/client-5.7:client-5.7-4 image: nextcloudci/client-5.7:client-5.7-4
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -30,10 +27,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.7 - master
qt-5.8: event:
- pull_request
- push
---
kind: pipeline
name: qt-5.8
steps:
- name: build and test
image: nextcloudci/client-5.8:client-5.8-4 image: nextcloudci/client-5.8:client-5.8-4
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -58,10 +64,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.8 - master
qt-5.9: event:
- pull_request
- push
---
kind: pipeline
name: qt-5.9
steps:
- name: build and test
image: nextcloudci/client-5.9:client-5.9-5 image: nextcloudci/client-5.9:client-5.9-5
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -86,10 +101,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.9 - master
qt-5.10: event:
- pull_request
- push
---
kind: pipeline
name: qt-5.10
steps:
- name: build and test
image: nextcloudci/client-5.10:client-5.10-3 image: nextcloudci/client-5.10:client-5.10-3
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -118,10 +142,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.10 - master
qt-5.11: event:
- pull_request
- push
---
kind: pipeline
name: qt-5.11
steps:
- name: build and test
image: nextcloudci/client-5.11:client-5.11-3 image: nextcloudci/client-5.11:client-5.11-3
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -150,11 +183,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.11 - master
event:
- pull_request
- push
qt-5.11-clang: ---
kind: pipeline
name: qt-5.11-clang
steps:
- name: build and test
image: nextcloudci/client-5.11:client-5.11-3 image: nextcloudci/client-5.11:client-5.11-3
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -183,11 +224,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.11-clang - master
event:
- pull_request
- push
qt-5.12: ---
kind: pipeline
name: qt-5.12
steps:
- name: build and test
image: nextcloudci/client-5.12:client-5.12-2 image: nextcloudci/client-5.12:client-5.12-2
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -216,11 +265,19 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.12 - master
event:
- pull_request
- push
qt-5.12-clang: ---
kind: pipeline
name: qt-5.12-clang
steps:
- name: build and test
image: nextcloudci/client-5.12:client-5.12-2 image: nextcloudci/client-5.12:client-5.12-2
commands: commands:
# Install QtKeyChain # Install QtKeyChain
@ -249,48 +306,42 @@ pipeline:
useradd -m -s /bin/bash test && useradd -m -s /bin/bash test &&
chown -R test:test . && chown -R test:test . &&
su -c 'ctest --output-on-failure' test" su -c 'ctest --output-on-failure' test"
when: trigger:
matrix: branch:
TESTS: qt-5.12-clang - master
event:
- pull_request
- push
AppImage: ---
kind: pipeline
name: AppImage
steps:
- name: build
image: nextcloudci/client-5.12:client-5.12-2 image: nextcloudci/client-5.12:client-5.12-2
commands: commands:
- /bin/bash -c "./admin/linux/build-appimage.sh" - /bin/bash -c "./admin/linux/build-appimage.sh"
when: trigger:
matrix: branch:
BUILD: AppImage - master
event:
- pull_request
- push
Debian: ---
image: nextcloudci/client-debian-ci:client-debian-ci-2 kind: pipeline
commands: name: Documentation
- /bin/bash -c "./admin/linux/debian/drone-build.sh"
secrets: [ DEBIAN_SECRET_KEY, DEBIAN_SECRET_IV ]
when:
matrix:
BUILD: Debian
documentation: steps:
- name: build
image: nextcloudci/documentation:documentation-5 image: nextcloudci/documentation:documentation-5
commands: commands:
- cd doc - cd doc
- make html - make html
when: trigger:
matrix: branch:
TESTS: documentation - master
event:
matrix: - pull_request
include: - push
- TESTS: qt-5.7
- TESTS: qt-5.8
- TESTS: qt-5.9
- TESTS: qt-5.10
- TESTS: qt-5.11
- TESTS: qt-5.11-clang
- TESTS: qt-5.12
- TESTS: qt-5.12-clang
- BUILD: AppImage
- BUILD: Debian
- TESTS: documentation
branches: [ master, 2.* ]