diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-16 11:52:30 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-16 12:17:58 +0100 |
commit | dc364222d98115cbb5a22d195c6cb5adbef0f215 (patch) | |
tree | bd5ca41644049a4166947475e8a16bc7911086a7 | |
parent | 631ae2f0f4eda0da1c03bfc1a9a32e8cf7a926a7 (diff) | |
download | nextcloud-server-dc364222d98115cbb5a22d195c6cb5adbef0f215.tar.gz nextcloud-server-dc364222d98115cbb5a22d195c6cb5adbef0f215.zip |
Execute PHP Parallel Linter on Travis
-rw-r--r-- | .travis.yml | 9 | ||||
-rw-r--r-- | composer.json | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 0f6a027d061..c00213975f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ install: script: + - sh -c "if [ '$TC' = 'syntax' ]; then composer install && lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty .; fi" - sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi" - sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi" @@ -42,5 +43,13 @@ matrix: env: DB=sqlite;TC=carddav - php: 5.4 env: DB=sqlite;TC=caldav + - php: 5.4 + env: DB=sqlite;TC=syntax + - php: 5.5 + env: DB=sqlite;TC=syntax + - php: 5.6 + env: DB=sqlite;TC=syntax + - php: 7.0 + env: DB=sqlite;TC=syntax fast_finish: true diff --git a/composer.json b/composer.json index 98fdb3aa31c..495a9896ae2 100644 --- a/composer.json +++ b/composer.json @@ -4,5 +4,9 @@ }, "autoload" : { "psr-4": {"OC\\": "lib/private"} + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "^0.9.2", + "jakub-onderka/php-console-highlighter": "^0.3.2" } } |