Browse Source

Execute PHP Parallel Linter on Travis

tags/v9.1.0beta1
Lukas Reschke 8 years ago
parent
commit
dc364222d9
2 changed files with 13 additions and 0 deletions
  1. 9
    0
      .travis.yml
  2. 4
    0
      composer.json

+ 9
- 0
.travis.yml View File





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"


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
- 0
composer.json View File

}, },
"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"
} }
} }

Loading…
Cancel
Save