From d3b34fc3f6d3ebc73eadf839a5456276da37a949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 17 Dec 2017 18:33:05 +0100 Subject: [PATCH] Add drone test for php 7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.drone.yml b/.drone.yml index 79ab8b801..60e1a53f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -132,6 +132,25 @@ pipeline: when: matrix: TESTS: php7.1 + php7.2: + image: nextcloudci/php7.2:php7.2-9 + environment: + - APP_NAME=deck + - CORE_BRANCH=master + - DB=sqlite + commands: + # Pre-setup steps + - yum -y install wget + - 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 + - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml + - phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml + when: + matrix: + TESTS: php7.2 integration: image: nextcloudci/integration-php7.0:integration-php7.0-3 environment: @@ -176,6 +195,7 @@ matrix: - TESTS: php5.6 - TESTS: php7.0 - TESTS: php7.1 + - TESTS: php7.2 - TESTS: eslint - TESTS: jsbuild - TESTS: integration