]> source.dussan.org Git - nextcloud-server.git/commitdiff
Consolidate all the code checkers into one job 4669/head
authorMorris Jobke <hey@morrisjobke.de>
Tue, 2 May 2017 19:04:09 +0000 (16:04 -0300)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 2 May 2017 19:04:09 +0000 (16:04 -0300)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
.drone.yml

index 6302736e0d6babbf8388cc8e60caaacdca356aa6..12440cb6ac684dcf1d2ff7489e94037e28648c83 100644 (file)
@@ -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
     - TESTS: db-codecov
     - TESTS: integration-capabilities_features
@@ -587,9 +555,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