Adjust master test branches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
79
.drone.yml
79
.drone.yml
@@ -16,20 +16,11 @@ steps:
|
|||||||
- ./occ app:check-code $APP_NAME -c strong-comparison
|
- ./occ app:check-code $APP_NAME -c strong-comparison
|
||||||
- ./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.0
|
|
||||||
image: nextcloudci/php7.0:php7.0-17
|
|
||||||
environment:
|
|
||||||
APP_NAME: deck
|
|
||||||
CORE_BRANCH: stable15
|
|
||||||
DB: sqlite
|
|
||||||
commands:
|
|
||||||
- composer install
|
|
||||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ --exclude ./lib/Collaboration/ .
|
|
||||||
- name: syntax-php7.1
|
- name: syntax-php7.1
|
||||||
image: nextcloudci/php7.1:php7.1-15
|
image: nextcloudci/php7.1:php7.1-15
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
- composer install
|
- composer install
|
||||||
@@ -38,7 +29,7 @@ steps:
|
|||||||
image: nextcloudci/php7.2:php7.2-9
|
image: nextcloudci/php7.2:php7.2-9
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
- composer install
|
- composer install
|
||||||
@@ -47,7 +38,7 @@ steps:
|
|||||||
image: nextcloudci/php7.3:php7.3-2
|
image: nextcloudci/php7.3:php7.3-2
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
- composer install
|
- composer install
|
||||||
@@ -61,41 +52,13 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: unit-php7.0
|
|
||||||
steps:
|
|
||||||
- name: php7.0
|
|
||||||
image: nextcloudci/php7.0:php7.0-17
|
|
||||||
environment:
|
|
||||||
APP_NAME: deck
|
|
||||||
CORE_BRANCH: stable15
|
|
||||||
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/
|
|
||||||
- php occ app:enable deck
|
|
||||||
- cd apps/$APP_NAME
|
|
||||||
# Run phpunit tests
|
|
||||||
- composer install
|
|
||||||
- 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
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
- stable*
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
- push
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: unit-php7.1
|
name: unit-php7.1
|
||||||
steps:
|
steps:
|
||||||
- name: php7.1
|
- name: php7.1
|
||||||
image: nextcloudci/php7.1:php7.1-15
|
image: nextcloudci/php7.1:php7.1-15
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
# Pre-setup steps
|
# Pre-setup steps
|
||||||
@@ -122,7 +85,7 @@ steps:
|
|||||||
image: nextcloudci/php7.2:php7.2-9
|
image: nextcloudci/php7.2:php7.2-9
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
# Pre-setup steps
|
# Pre-setup steps
|
||||||
@@ -149,7 +112,7 @@ steps:
|
|||||||
image: nextcloudci/php7.3:php7.3-2
|
image: nextcloudci/php7.3:php7.3-2
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable15
|
CORE_BRANCH: master
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
# Pre-setup steps
|
# Pre-setup steps
|
||||||
@@ -170,39 +133,13 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: integration-stable16
|
name: integration
|
||||||
steps:
|
steps:
|
||||||
- name: integration
|
- name: integration
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.1:php7.1-16
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: deck
|
APP_NAME: deck
|
||||||
CORE_BRANCH: stable16
|
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/
|
|
||||||
- php occ app:enable deck
|
|
||||||
- cd apps/$APP_NAME
|
|
||||||
- cd tests/integration
|
|
||||||
- ./run.sh || true
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
- stable*
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
- push
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: integration-stable15
|
|
||||||
steps:
|
|
||||||
- name: integration
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
environment:
|
|
||||||
APP_NAME: deck
|
|
||||||
CORE_BRANCH: stable15
|
|
||||||
DB: sqlite
|
DB: sqlite
|
||||||
commands:
|
commands:
|
||||||
# Pre-setup steps
|
# Pre-setup steps
|
||||||
|
|||||||
Reference in New Issue
Block a user