You are here

drupalci.yml in Range 8

File

drupalci.yml
View source
  1. # This is the DrupalCI testbot build file for Range module.
  2. # Learn to make one for your own drupal.org project:
  3. # https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing
  4. # https://www.drupal.org/docs/updating-drupal/how-to-prepare-your-drupal-7-or-8-site-for-drupal-9/deprecation-checking-and#s-drupalorg-testing-support-for-deprecation-checking
  5. build:
  6. assessment:
  7. validate_codebase:
  8. host_command:
  9. commands:
  10. # Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase. See https://www.drupal.org/project/drupal/issues/3179960
  11. - |
  12. cd ${SOURCE_DIR}
  13. DRUPAL_CORE_BRANCH=`git rev-parse --abbrev-ref HEAD`
  14. if [ "$DRUPAL_CORE_BRANCH" = "8.9.x" ]; then
  15. sudo -u www-data curl https://www.drupal.org/files/issues/2020-10-31/drupal-3179960-3.patch | sudo -u www-data patch -p1 --verbose
  16. fi
  17. phplint:
  18. csslint:
  19. halt-on-fail: false
  20. phpcs:
  21. # phpcs will use core's specified version of Coder.
  22. sniff-all-files: false
  23. halt-on-fail: false
  24. phpstan:
  25. halt-on-fail: false
  26. testing:
  27. # run_tests task is executed several times in order of performance speeds.
  28. # suppress-deprecations is false in order to be alerted to usages of
  29. # deprecated code.
  30. run_tests.phpunit:
  31. types: 'PHPUnit-Unit'
  32. testgroups: '--all'
  33. suppress-deprecations: false
  34. halt-on-fail: false
  35. run_tests.kernel:
  36. types: 'PHPUnit-Kernel'
  37. testgroups: '--all'
  38. suppress-deprecations: false
  39. halt-on-fail: false
  40. run_tests.functional:
  41. types: 'PHPUnit-Functional'
  42. testgroups: '--all'
  43. suppress-deprecations: false
  44. halt-on-fail: false