Run the app checker on all apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1951c88bdc
commit
3571355eb5
13
.drone.yml
13
.drone.yml
|
@ -15,18 +15,7 @@ pipeline:
|
|||
checkers:
|
||||
image: nextcloudci/php7.0:php7.0-7
|
||||
commands:
|
||||
- bash ./build/autoloaderchecker.sh
|
||||
- bash ./build/mergejschecker.sh
|
||||
- php ./build/translation-checker.php
|
||||
- php ./build/htaccess-checker.php
|
||||
- ./occ app:check-code admin_audit
|
||||
- ./occ app:check-code comments
|
||||
- ./occ app:check-code federation
|
||||
- ./occ app:check-code sharebymail
|
||||
- ./occ app:check-code systemtags
|
||||
- ./occ app:check-code theming
|
||||
- ./occ app:check-code workflowengine
|
||||
- php ./build/signed-off-checker.php
|
||||
- ./autotest-checkers.sh
|
||||
when:
|
||||
matrix:
|
||||
TESTS: checkers
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
|
||||
bash ./build/autoloaderchecker.sh
|
||||
bash ./build/mergejschecker.sh
|
||||
php ./build/translation-checker.php
|
||||
php ./build/htaccess-checker.php
|
||||
|
||||
|
||||
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do
|
||||
if
|
||||
[ "$app" == "dav" ] || \
|
||||
[ "$app" == "encryption" ] || \
|
||||
[ "$app" == "federatedfilesharing" ] || \
|
||||
[ "$app" == "files" ] || \
|
||||
[ "$app" == "files_external" ] || \
|
||||
[ "$app" == "files_sharing" ] || \
|
||||
[ "$app" == "files_trashbin" ] || \
|
||||
[ "$app" == "files_versions" ] || \
|
||||
[ "$app" == "lookup_server_connector" ] || \
|
||||
[ "$app" == "provisioning_api" ] || \
|
||||
[ "$app" == "testing" ] || \
|
||||
[ "$app" == "twofactor_backupcodes" ] || \
|
||||
[ "$app" == "updatenotification" ] || \
|
||||
[ "$app" == "user_ldap" ]
|
||||
then
|
||||
./occ app:check-code -c strong-comparison "$app"
|
||||
else
|
||||
./occ app:check-code "$app"
|
||||
fi
|
||||
RESULT=$?
|
||||
done;
|
||||
|
||||
php ./build/signed-off-checker.php
|
Loading…
Reference in New Issue