2017-05-10 11:54:36 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=0
|
2017-05-10 11:54:36 +00:00
|
|
|
|
|
|
|
bash ./build/autoloaderchecker.sh
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
2017-05-10 11:54:36 +00:00
|
|
|
bash ./build/mergejschecker.sh
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
2017-05-10 11:54:36 +00:00
|
|
|
php ./build/translation-checker.php
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
2017-05-10 11:54:36 +00:00
|
|
|
php ./build/htaccess-checker.php
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
2017-05-10 11:54:36 +00:00
|
|
|
|
|
|
|
|
2017-05-16 21:18:02 +00:00
|
|
|
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;); do
|
|
|
|
echo "Testing $app"
|
2017-05-10 11:54:36 +00:00
|
|
|
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
|
2017-05-11 07:52:55 +00:00
|
|
|
./occ app:check-code --skip-checkers "$app"
|
2017-05-10 11:54:36 +00:00
|
|
|
else
|
|
|
|
./occ app:check-code "$app"
|
|
|
|
fi
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
2017-05-10 11:54:36 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
php ./build/signed-off-checker.php
|
2017-05-10 12:56:16 +00:00
|
|
|
RESULT=$(($RESULT+$?))
|
|
|
|
|
|
|
|
exit $RESULT
|