Update test php versions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-09-23 09:33:24 +02:00
parent 55a1f5ea61
commit 0d447fff01
2 changed files with 15 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ kind: pipeline
name: checkers name: checkers
steps: steps:
- name: compatibility - name: compatibility
image: nextcloudci/php7.2:php7.2-13 image: nextcloudci/php7.3:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master
@@ -17,7 +17,7 @@ steps:
- ./occ app:check-code $APP_NAME -c deprecation - ./occ app:check-code $APP_NAME -c deprecation
- cd apps/$APP_NAME/ - cd apps/$APP_NAME/
- name: syntax-php7.2 - name: syntax-php7.2
image: nextcloudci/php7.2:php7.2-13 image: nextcloudci/php7.2:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master
@@ -35,7 +35,7 @@ steps:
- composer install - composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ . - ./vendor/bin/parallel-lint --exclude ./vendor/ .
- name: syntax-php7.4 - name: syntax-php7.4
image: nextcloudci/php7.4:2 image: nextcloudci/php7.4:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master
@@ -52,10 +52,10 @@ trigger:
- push - push
--- ---
kind: pipeline kind: pipeline
name: unit-php7.2 name: unit-php7.3
steps: steps:
- name: php7.2 - name: php7.3
image: nextcloudci/php7.2:php7.2-13 image: nextcloudci/php7.3:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master
@@ -77,12 +77,11 @@ trigger:
event: event:
- pull_request - pull_request
- push - push
---
kind: pipeline kind: pipeline
name: unit-php7.3 name: unit-php7.4
steps: steps:
- name: php7.3 - name: php7.4
image: nextcloudci/php7.3:php7.3-5 image: nextcloudci/php7.4:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master
@@ -109,7 +108,7 @@ kind: pipeline
name: integration name: integration
steps: steps:
- name: integration - name: integration
image: nextcloudci/php7.2:php7.2-13 image: nextcloudci/php7.3:latest
environment: environment:
APP_NAME: deck APP_NAME: deck
CORE_BRANCH: master CORE_BRANCH: master

View File

@@ -2,11 +2,15 @@ language: php
services: services:
- mysql - mysql
php: php:
- 7.2
- 7.3 - 7.3
env: env:
- CORE_BRANCH=master DB=mysql - CORE_BRANCH=master DB=mysql
matrix:
include:
- php: 7.2
env: "DB=sqlite CORE_BRANCH=stable20"
before_install: before_install:
- export PATH="$PWD/vendor/bin:$PATH" - export PATH="$PWD/vendor/bin:$PATH"
- phpunit --version - phpunit --version