From 9f8b3bef62d8fcab0b20bb8256578c0bb8c3f2b9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 7 Jan 2019 16:17:26 +0100 Subject: [PATCH] Update master php testing versions Signed-off-by: Joas Schilling --- .drone.yml | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.drone.yml b/.drone.yml index 74bfeab..3d358dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ clone: pipeline: signed-off-check: - image: nextcloudci/php7.0:php7.0-2 + image: nextcloudci/php7.1:php7.1-16 environment: - APP_NAME=data_request - CORE_BRANCH=master @@ -20,7 +20,7 @@ pipeline: matrix: TESTS: signed-off-check check-app-compatbility: - image: nextcloudci/php7.0:php7.0-2 + image: nextcloudci/php7.1:php7.1-16 environment: - APP_NAME=data_request - CORE_BRANCH=master @@ -37,8 +37,8 @@ pipeline: when: matrix: TESTS: check-app-compatbility - syntax-php7.0: - image: nextcloudci/php7.0:php7.0-2 + syntax-php7.1: + image: nextcloudci/php7.1:php7.1-16 environment: - APP_NAME=data_request - CORE_BRANCH=master @@ -52,29 +52,9 @@ pipeline: - ./lib/composer/bin/parallel-lint apps/$APP_NAME/ when: matrix: - TESTS: syntax-php7.0 - php7.0: - image: nextcloudci/php7.0:php7.0-2 - environment: - - APP_NAME=data_request - - CORE_BRANCH=master - - 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/ - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/unit/ - - phpunit --configuration phpunit.xml - when: - matrix: - TESTS: php7.0 + TESTS: syntax-php7.1 php7.1: - image: nextcloudci/php7.1:php7.1-15 + image: nextcloudci/php7.1:php7.1-16 environment: - APP_NAME=data_request - CORE_BRANCH=master @@ -113,12 +93,32 @@ pipeline: when: matrix: TESTS: php7.2 + php7.3: + image: nextcloudci/php7.3:php7.3-1 + environment: + - APP_NAME=data_request + - CORE_BRANCH=master + - 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/ + - ./occ app:enable $APP_NAME + - cd apps/$APP_NAME + + # Run phpunit tests + - cd tests/unit/ + - phpunit --configuration phpunit.xml + when: + matrix: + TESTS: php7.3 matrix: include: - TESTS: signed-off-check - TESTS: check-app-compatbility - - TESTS: syntax-php7.0 - - TESTS: php7.0 + - TESTS: syntax-php7.1 - TESTS: php7.1 - TESTS: php7.2 + - TESTS: php7.3