summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-27 16:50:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-27 16:50:10 +0200
commit5961d5aae4c40aae80050db4c8adf611b9c7888c (patch)
tree106f2ff3bc9b38ced537aa86f357a6a3d561a6ce /.travis.yml
parentdb6361ef0314868edc9d58a81c0806c8c758af0a (diff)
downloadnextcloud-server-5961d5aae4c40aae80050db4c8adf611b9c7888c.tar.gz
nextcloud-server-5961d5aae4c40aae80050db4c8adf611b9c7888c.zip
Add app:check-code for already compatible apps
* admin_audit, comments, federation * removed not needed call to OC_Util::checkAdminUser() (is already done by the request handler before)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 242ba71e395..15413d3413e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,6 +30,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; fi"
- sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"
@@ -51,5 +52,7 @@ matrix:
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 7.0
env: DB=sqlite;TC=syntax;TEST_DAV=0
+ - php: 5.4
+ env: DB=sqlite;TC=app:check-code;TEST_DAV=0
fast_finish: true