Fix info.xml and validate it on Travis
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
d98b913034
Коммит
efd304e9ee
|
@ -14,6 +14,7 @@ addons:
|
|||
- mysql-server-5.6
|
||||
- mysql-client-core-5.6
|
||||
- mysql-client-5.6
|
||||
- libxml2-utils
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
@ -79,6 +80,11 @@ before_script:
|
|||
- cd core/apps/twofactor_u2f
|
||||
|
||||
script:
|
||||
# Check info.xml schema validity
|
||||
- wget https://apps.nextcloud.com/schema/apps/info.xsd
|
||||
- xmllint appinfo/info.xml --schema info.xsd --noout
|
||||
- rm info.xsd
|
||||
|
||||
# Check PHP syntax errors
|
||||
- find . -name \*.php -not -path './vendor/*' -exec php -l "{}" \;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<licence>agpl</licence>
|
||||
<author>Christoph Wurst</author>
|
||||
<namespace>TwoFactorU2F</namespace>
|
||||
<category>auth</category>
|
||||
<category>security</category>
|
||||
|
||||
<website>https://github.com/nextcloud/twofactor_u2f#readme</website>
|
||||
<bugs>https://github.com/nextcloud/twofactor_u2f/issues</bugs>
|
||||
|
@ -25,6 +25,9 @@
|
|||
<provider>OCA\TwoFactorU2F\Provider\U2FProvider</provider>
|
||||
</two-factor-providers>
|
||||
|
||||
<settings>
|
||||
<personal>OCA\TwoFactorU2F\Settings\Personal</personal>
|
||||
</settings>
|
||||
<activity>
|
||||
<settings>
|
||||
<setting>OCA\TwoFactorU2F\Activity\Setting</setting>
|
||||
|
@ -33,7 +36,4 @@
|
|||
<provider>OCA\TwoFactorU2F\Activity\Provider</provider>
|
||||
</providers>
|
||||
</activity>
|
||||
<settings>
|
||||
<personal>OCA\TwoFactorU2F\Settings\Personal</personal>
|
||||
</settings>
|
||||
</info>
|
||||
|
|
Загрузка…
Ссылка в новой задаче