2019-04-12 17:54:35 +03:00
|
|
|
kind: pipeline
|
|
|
|
name: check-app-compatbility
|
2017-08-09 12:15:48 +03:00
|
|
|
|
2019-04-12 17:54:35 +03:00
|
|
|
steps:
|
|
|
|
- name: check-app-compatbility
|
2019-04-25 14:01:07 +03:00
|
|
|
image: nextcloudci/php7.1:php7.1-16
|
2017-04-28 11:41:34 +03:00
|
|
|
environment:
|
2019-04-12 17:58:34 +03:00
|
|
|
APP_NAME: guests
|
2019-04-25 14:01:07 +03:00
|
|
|
CORE_BRANCH: stable16
|
2019-04-12 17:58:34 +03:00
|
|
|
DB: sqlite
|
2017-04-28 11:41:34 +03:00
|
|
|
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
|
2019-04-12 17:54:35 +03:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
- stable*
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
- push
|
2019-08-05 11:31:58 +03:00
|
|
|
|