From ea5203049b7a41180556921a23d0984646098395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 17 Dec 2017 18:49:50 +0100 Subject: [PATCH] Only test syntax of the app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 24 ++++-------------------- composer.json | 3 ++- 2 files changed, 6 insertions(+), 21 deletions(-) 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" } }