From 99ca5323179a9af2b438271ba350ee63282ec657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 8 May 2019 12:48:23 +0200 Subject: [PATCH] Add postgres CI pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.drone.yml b/.drone.yml index 6d00054b..fd19665f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -102,6 +102,34 @@ trigger: - push --- kind: pipeline +name: php7.1-postgres +steps: +- name: php7.1 + image: nextcloudci/php7.1:php7.1-16 + environment: + APP_NAME: social + CORE_BRANCH: stable15 + DB: postgres + commands: + - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB + - cd ../server/apps/$APP_NAME + - composer install + - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml +services: +- name: postgres + image: postgres:10 + environment: + POSTGRES_USER: oc_autotest + POSTGRES_DB: oc_autotest_dummy + POSTGRES_PASSWORD: owncloud +trigger: + branch: + - master + event: + - pull_request + - push +--- +kind: pipeline name: frontend steps: - name: eslint