From 0d447fff0188d75e32398f001ffba246f20ae2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 23 Sep 2020 09:33:24 +0200 Subject: [PATCH] Update test php versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 21 ++++++++++----------- .travis.yml | 6 +++++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6ac3a5a55..9d623588e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,7 @@ kind: pipeline name: checkers steps: - name: compatibility - image: nextcloudci/php7.2:php7.2-13 + image: nextcloudci/php7.3:latest environment: APP_NAME: deck CORE_BRANCH: master @@ -17,7 +17,7 @@ steps: - ./occ app:check-code $APP_NAME -c deprecation - cd apps/$APP_NAME/ - name: syntax-php7.2 - image: nextcloudci/php7.2:php7.2-13 + image: nextcloudci/php7.2:latest environment: APP_NAME: deck CORE_BRANCH: master @@ -35,7 +35,7 @@ steps: - composer install - ./vendor/bin/parallel-lint --exclude ./vendor/ . - name: syntax-php7.4 - image: nextcloudci/php7.4:2 + image: nextcloudci/php7.4:latest environment: APP_NAME: deck CORE_BRANCH: master @@ -52,10 +52,10 @@ trigger: - push --- kind: pipeline -name: unit-php7.2 +name: unit-php7.3 steps: - - name: php7.2 - image: nextcloudci/php7.2:php7.2-13 + - name: php7.3 + image: nextcloudci/php7.3:latest environment: APP_NAME: deck CORE_BRANCH: master @@ -77,12 +77,11 @@ trigger: event: - pull_request - push ---- kind: pipeline -name: unit-php7.3 +name: unit-php7.4 steps: - - name: php7.3 - image: nextcloudci/php7.3:php7.3-5 + - name: php7.4 + image: nextcloudci/php7.4:latest environment: APP_NAME: deck CORE_BRANCH: master @@ -109,7 +108,7 @@ kind: pipeline name: integration steps: - name: integration - image: nextcloudci/php7.2:php7.2-13 + image: nextcloudci/php7.3:latest environment: APP_NAME: deck CORE_BRANCH: master diff --git a/.travis.yml b/.travis.yml index 3d15d0800..1653527da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,15 @@ language: php services: - mysql php: - - 7.2 - 7.3 env: - CORE_BRANCH=master DB=mysql +matrix: + include: + - php: 7.2 + env: "DB=sqlite CORE_BRANCH=stable20" + before_install: - export PATH="$PWD/vendor/bin:$PATH" - phpunit --version