Only test syntax of the app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
24
.drone.yml
24
.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
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
],
|
||||
"require": {},
|
||||
"require-dev": {
|
||||
"christophwurst/nextcloud": "^12.0"
|
||||
"christophwurst/nextcloud": "^12.0",
|
||||
"jakub-onderka/php-parallel-lint": "^0.9.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user