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-server-5.6
|
||||||
- mysql-client-core-5.6
|
- mysql-client-core-5.6
|
||||||
- mysql-client-5.6
|
- mysql-client-5.6
|
||||||
|
- libxml2-utils
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
@ -79,6 +80,11 @@ before_script:
|
||||||
- cd core/apps/twofactor_u2f
|
- cd core/apps/twofactor_u2f
|
||||||
|
|
||||||
script:
|
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
|
# Check PHP syntax errors
|
||||||
- find . -name \*.php -not -path './vendor/*' -exec php -l "{}" \;
|
- find . -name \*.php -not -path './vendor/*' -exec php -l "{}" \;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author>Christoph Wurst</author>
|
<author>Christoph Wurst</author>
|
||||||
<namespace>TwoFactorU2F</namespace>
|
<namespace>TwoFactorU2F</namespace>
|
||||||
<category>auth</category>
|
<category>security</category>
|
||||||
|
|
||||||
<website>https://github.com/nextcloud/twofactor_u2f#readme</website>
|
<website>https://github.com/nextcloud/twofactor_u2f#readme</website>
|
||||||
<bugs>https://github.com/nextcloud/twofactor_u2f/issues</bugs>
|
<bugs>https://github.com/nextcloud/twofactor_u2f/issues</bugs>
|
||||||
|
@ -25,6 +25,9 @@
|
||||||
<provider>OCA\TwoFactorU2F\Provider\U2FProvider</provider>
|
<provider>OCA\TwoFactorU2F\Provider\U2FProvider</provider>
|
||||||
</two-factor-providers>
|
</two-factor-providers>
|
||||||
|
|
||||||
|
<settings>
|
||||||
|
<personal>OCA\TwoFactorU2F\Settings\Personal</personal>
|
||||||
|
</settings>
|
||||||
<activity>
|
<activity>
|
||||||
<settings>
|
<settings>
|
||||||
<setting>OCA\TwoFactorU2F\Activity\Setting</setting>
|
<setting>OCA\TwoFactorU2F\Activity\Setting</setting>
|
||||||
|
@ -33,7 +36,4 @@
|
||||||
<provider>OCA\TwoFactorU2F\Activity\Provider</provider>
|
<provider>OCA\TwoFactorU2F\Activity\Provider</provider>
|
||||||
</providers>
|
</providers>
|
||||||
</activity>
|
</activity>
|
||||||
<settings>
|
|
||||||
<personal>OCA\TwoFactorU2F\Settings\Personal</personal>
|
|
||||||
</settings>
|
|
||||||
</info>
|
</info>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче