21
.drone.yml
21
.drone.yml
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user