From ed4d495f5ae2bbc3b1e66404528f81a0887102bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 17 Apr 2019 14:55:25 +0200 Subject: [PATCH] Run integration tests against stable Nextcloud branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b5b0fabb8..7dd573212 100644 --- a/.drone.yml +++ b/.drone.yml @@ -170,13 +170,39 @@ trigger: - push --- kind: pipeline -name: integration +name: integration-stable16 steps: - name: integration image: nextcloudci/php7.1:php7.1-16 environment: APP_NAME: deck - CORE_BRANCH: master + CORE_BRANCH: stable16 + DB: sqlite + commands: + # Pre-setup steps + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB + - cd ../server/ + - php occ app:enable deck + - cd apps/$APP_NAME + - cd tests/integration + - ./run.sh || true +trigger: + branch: + - master + - stable* + event: + - pull_request + - push +--- +kind: pipeline +name: integration-stable15 +steps: + - name: integration + image: nextcloudci/php7.1:php7.1-16 + environment: + APP_NAME: deck + CORE_BRANCH: stable15 DB: sqlite commands: # Pre-setup steps