diff --git a/.drone.yml b/.drone.yml index ac5d7ff22..00fe1844e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,12 +43,8 @@ pipeline: - CORE_BRANCH=master - DB=sqlite commands: - # Pre-setup steps - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server - composer install - - ./lib/composer/bin/parallel-lint --exclude build/.phan/ --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 . + - ./vendor/bin/parallel-lint --exclude ./vendor/ . when: matrix: TESTS: syntax-php5.6 @@ -59,12 +55,8 @@ pipeline: - CORE_BRANCH=master - DB=sqlite commands: - # Pre-setup steps - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server - 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 . + - ./vendor/bin/parallel-lint --exclude ./vendor/ . when: matrix: TESTS: syntax-php7.0 @@ -75,12 +67,8 @@ pipeline: - CORE_BRANCH=master - DB=sqlite commands: - # Pre-setup steps - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server - composer install - - ./lib/composer/bin/parallel-lint --exclude 3rdparty/doctrine/ --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 . + - ./vendor/bin/parallel-lint --exclude ./vendor/ . when: matrix: TESTS: syntax-php7.1 @@ -91,12 +79,8 @@ pipeline: - CORE_BRANCH=master - DB=sqlite commands: - # Pre-setup steps - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB - - cd ../server - 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 . + - ./vendor/bin/parallel-lint --exclude ./vendor/ . when: matrix: TESTS: syntax-php7.2 diff --git a/composer.json b/composer.json index 59ae73b85..205ee24ef 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ ], "require": {}, "require-dev": { - "christophwurst/nextcloud": "^12.0" + "christophwurst/nextcloud": "^12.0", + "jakub-onderka/php-parallel-lint": "^0.9.2" } }