Add compatibility check for 12,13
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
38
.drone.yml
38
.drone.yml
@@ -22,6 +22,42 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
TESTS: check-app-compatbility
|
TESTS: check-app-compatbility
|
||||||
|
check-app-compatbility-12:
|
||||||
|
image: nextcloudci/php7.0:php7.0-17
|
||||||
|
environment:
|
||||||
|
- APP_NAME=deck
|
||||||
|
- CORE_BRANCH=stable12
|
||||||
|
- 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
|
||||||
|
# Code checker
|
||||||
|
- ./occ app:check-code $APP_NAME -c strong-comparison
|
||||||
|
- ./occ app:check-code $APP_NAME -c deprecation
|
||||||
|
- cd apps/$APP_NAME/
|
||||||
|
when:
|
||||||
|
matrix:
|
||||||
|
TESTS: check-app-compatbility-13
|
||||||
|
check-app-compatbility-12:
|
||||||
|
image: nextcloudci/php7.0:php7.0-17
|
||||||
|
environment:
|
||||||
|
- APP_NAME=deck
|
||||||
|
- CORE_BRANCH=stable12
|
||||||
|
- 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
|
||||||
|
# Code checker
|
||||||
|
- ./occ app:check-code $APP_NAME -c strong-comparison
|
||||||
|
- ./occ app:check-code $APP_NAME -c deprecation
|
||||||
|
- cd apps/$APP_NAME/
|
||||||
|
when:
|
||||||
|
matrix:
|
||||||
|
TESTS: check-app-compatbility-12
|
||||||
signed-off-check:
|
signed-off-check:
|
||||||
image: nextcloudci/php7.0:php7.0-17
|
image: nextcloudci/php7.0:php7.0-17
|
||||||
environment:
|
environment:
|
||||||
@@ -194,6 +230,8 @@ pipeline:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- TESTS: check-app-compatbility
|
- TESTS: check-app-compatbility
|
||||||
|
- TESTS: check-app-compatbility-12
|
||||||
|
- TESTS: check-app-compatbility-13
|
||||||
- TESTS: signed-off-check
|
- TESTS: signed-off-check
|
||||||
- TESTS: syntax-php5.6
|
- TESTS: syntax-php5.6
|
||||||
- TESTS: syntax-php7.0
|
- TESTS: syntax-php7.0
|
||||||
|
|||||||
Reference in New Issue
Block a user