summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-02 17:27:00 -0300
committerGitHub <noreply@github.com>2017-05-02 17:27:00 -0300
commitc079ca76514b6622dbe711c8c6bc020f1a2564a2 (patch)
tree41210ad281e600c9c87ba0f79ce5148b42341e63 /.drone.yml
parentf233e856bfd0d338b3b6b8e0af637ff794b0fb7f (diff)
parenta1929f4d56b2b3583a8a75f6e90d39250059135a (diff)
downloadnextcloud-server-c079ca76514b6622dbe711c8c6bc020f1a2564a2.tar.gz
nextcloud-server-c079ca76514b6622dbe711c8c6bc020f1a2564a2.zip
Merge pull request #4669 from nextcloud/checkers
Consolidate all the code checkers into one job
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml45
1 files changed, 5 insertions, 40 deletions
diff --git a/.drone.yml b/.drone.yml
index 490593676b2..0a4cd6a9318 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,30 +12,14 @@ pipeline:
when:
matrix:
TESTS: jsunit
- check-autoloader:
+ checkers:
image: nextcloudci/php7.0:php7.0-7
commands:
- bash ./build/autoloaderchecker.sh
- when:
- matrix:
- TESTS: check-autoloader
- check-mergejs:
- image: nextcloudci/php7.0:php7.0-7
- commands:
- bash ./build/mergejschecker.sh
- when:
- matrix:
- TESTS: check-mergejs
- translation-check:
- image: nextcloudci/php7.0:php7.0-7
- commands:
+ - php ./build/signed-off-checker.php
- php ./build/translation-checker.php
- when:
- matrix:
- TESTS: translation-check
- app-check-code:
- image: nextcloudci/php7.0:php7.0-7
- commands:
+ - php ./build/htaccess-checker.php
- ./occ app:check-code admin_audit
- ./occ app:check-code comments
- ./occ app:check-code federation
@@ -45,21 +29,7 @@ pipeline:
- ./occ app:check-code workflowengine
when:
matrix:
- TESTS: app-check-code
- signed-off-check:
- image: nextcloudci/php7.0:php7.0-7
- commands:
- - php ./build/signed-off-checker.php
- when:
- matrix:
- TESTS: signed-off-check
- htaccess-checker:
- image: nextcloudci/php7.0:php7.0-7
- commands:
- - php ./build/htaccess-checker.php
- when:
- matrix:
- TESTS: htaccess-checker
+ TESTS: checkers
syntax-php5.6:
image: nextcloudci/php5.6:php5.6-7
commands:
@@ -549,9 +519,7 @@ pipeline:
TEST: memcache-memcached
matrix:
include:
- - TESTS: signed-off-check
- - TESTS: translation-check
- - TESTS: htaccess-checker
+ - TESTS: checkers
- TESTS: nodb-codecov
ENABLE_REDIS: true
- TESTS: db-codecov
@@ -590,9 +558,6 @@ matrix:
- TESTS: acceptance
TESTS-ACCEPTANCE: login
- TESTS: jsunit
- - TESTS: check-autoloader
- - TESTS: check-mergejs
- - TESTS: app-check-code
- TESTS: syntax-php5.6
- TESTS: syntax-php7.0
- TESTS: syntax-php7.1