Skip to content
Snippets Groups Projects
Commit dc364222 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Execute PHP Parallel Linter on Travis

parent 631ae2f0
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ install: ...@@ -29,6 +29,7 @@ install:
script: 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 \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi" - sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"
...@@ -42,5 +43,13 @@ matrix: ...@@ -42,5 +43,13 @@ matrix:
env: DB=sqlite;TC=carddav env: DB=sqlite;TC=carddav
- php: 5.4 - php: 5.4
env: DB=sqlite;TC=caldav 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 fast_finish: true
...@@ -4,5 +4,9 @@ ...@@ -4,5 +4,9 @@
}, },
"autoload" : { "autoload" : {
"psr-4": {"OC\\": "lib/private"} "psr-4": {"OC\\": "lib/private"}
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0.9.2",
"jakub-onderka/php-console-highlighter": "^0.3.2"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment