From f3296dd443569c8cc7358844fd7ee3d65d8366d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 10 Jul 2018 16:19:51 +0200 Subject: [PATCH] Add compatibility check for 12,13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.drone.yml b/.drone.yml index 73b1b7a86..bbdcbaa52 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,42 @@ pipeline: when: matrix: TESTS: check-app-compatbility + check-app-compatbility-12: + image: nextcloudci/php7.0:php7.0-17 + environment: + - APP_NAME=deck + - CORE_BRANCH=stable12 + - 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 + # Code checker + - ./occ app:check-code $APP_NAME -c strong-comparison + - ./occ app:check-code $APP_NAME -c deprecation + - cd apps/$APP_NAME/ + when: + matrix: + TESTS: check-app-compatbility-13 + check-app-compatbility-12: + image: nextcloudci/php7.0:php7.0-17 + environment: + - APP_NAME=deck + - CORE_BRANCH=stable12 + - 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 + # Code checker + - ./occ app:check-code $APP_NAME -c strong-comparison + - ./occ app:check-code $APP_NAME -c deprecation + - cd apps/$APP_NAME/ + when: + matrix: + TESTS: check-app-compatbility-12 signed-off-check: image: nextcloudci/php7.0:php7.0-17 environment: @@ -194,6 +230,8 @@ pipeline: matrix: include: - TESTS: check-app-compatbility + - TESTS: check-app-compatbility-12 + - TESTS: check-app-compatbility-13 - TESTS: signed-off-check - TESTS: syntax-php5.6 - TESTS: syntax-php7.0