Updated travis file to validate autoloader

This commit is contained in:
Roeland Jago Douma 2016-08-17 08:38:35 +02:00
parent b6fc62aeb2
commit 27b60954c4
No known key found for this signature in database
GPG key ID: 1E152838F164D13B

View file

@ -31,6 +31,7 @@ install:
script:
- sh -c "if [ '$TC' = 'syntax' ]; then composer install && lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .; fi"
- sh -c "if [ '$TC' = 'app:check-code' ]; then ./occ app:check-code admin_audit; ./occ app:check-code comments; ./occ app:check-code federation; ./occ app:check-code workflowengine; fi"
- sh -c "if [ '$TC' = 'autoloader' ]; then bash build/autoloaderchecker.sh; fi"
- sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"
@ -38,6 +39,8 @@ script:
matrix:
include:
- php: 7.0
env: TC=autoloader;TEST_DAV=0
- php: 5.4
env: DB=pgsql;TC=litmus-v1
- php: 5.4