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