Files
user_external/.drone.yml
Jonas Sulzer 2bb57cb793 disable check-code
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-02-27 20:30:14 +01:00

47 lines
1.2 KiB
YAML

clone:
git:
image: plugins/git
depth: 1
pipeline:
check-app-compatbility:
image: nextcloudci/php7.2:php7.2-9
environment:
- APP_NAME=user_external
- 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
# 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
signed-off-check:
image: nextcloudci/php7.2:php7.2-9
environment:
- APP_NAME=user_external
- CORE_BRANCH=master
- DB=sqlite
commands:
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server
- php ./build/signed-off-checker.php
secrets: [ github_token ]
when:
matrix:
TESTS: signed-off-check
matrix:
include:
- TESTS: signed-off-check
# - TESTS: check-app-compatbility