summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2018-05-18 08:20:16 (GMT)
committerAlex Pott2018-05-18 08:20:16 (GMT)
commitc44d82df1597ba754ee85f210a17e1e11b08bbe5 (patch)
treefa1740989e933ed6ecec241520aaf1b1b365419c
parent9f76972c25ea4e881291c8c92d9c8d3094921359 (diff)
Issue #2969363 by Mixologic, dawehner, Mile23: Add a drupalci.yml to core
-rw-r--r--core/drupalci.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/core/drupalci.yml b/core/drupalci.yml
new file mode 100644
index 0000000..b658e47
--- /dev/null
+++ b/core/drupalci.yml
@@ -0,0 +1,57 @@
+# This is the DrupalCI testbot build file for Drupal core.
+# Learn to make one for your own drupal.org project:
+# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing
+build:
+ assessment:
+ validate_codebase:
+ phplint:
+ # Re-run composer install to ensure the dependencies resolve for the
+ # containerized PHP version.
+ container_composer:
+ options: ' install --prefer-dist --no-suggest --no-progress --no-interaction'
+ halt-on-fail: true
+ csslint:
+ halt-on-fail: false
+ eslint:
+ # A test must pass eslinting standards check in order to continue processing.
+ halt-on-fail: true
+ phpcs:
+ # phpcs will use core's specified version of Coder.
+ sniff-all-files: false
+ halt-on-fail: false
+ testing:
+ # run_tests task is executed several times in order of performance speeds.
+ # halt-on-fail can be set on the run_tests tasks in order to fail fast.
+ # suppress-deprecations is false in order to be alerted to usages of
+ # deprecated code.
+ run_tests.phpunit:
+ types: 'PHPUnit-Unit'
+ testgroups: '--all'
+ suppress-deprecations: false
+ halt-on-fail: false
+ run_tests.kernel:
+ types: 'PHPUnit-Kernel'
+ testgroups: '--all'
+ suppress-deprecations: false
+ halt-on-fail: false
+ run_tests.simpletest:
+ types: 'Simpletest'
+ testgroups: '--all'
+ suppress-deprecations: false
+ halt-on-fail: false
+ run_tests.functional:
+ types: 'PHPUnit-Functional'
+ testgroups: '--all'
+ suppress-deprecations: false
+ halt-on-fail: false
+ # Functional JavaScript tests require a concurrency of 1 because there is
+ # only one instance of PhantomJS on the testbot machine.
+ run_tests.javascript:
+ concurrency: 1
+ types: 'PHPUnit-FunctionalJavascript'
+ testgroups: '--all'
+ suppress-deprecations: false
+ halt-on-fail: false
+ # Run nightwatch testing.
+ # @see https://www.drupal.org/project/drupal/issues/2869825
+ nightwatchjs: