36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
drupal:
|
|
root: "build"
|
|
base_url: "http://nginx"
|
|
database:
|
|
host: "mariadb"
|
|
port: "3306"
|
|
name: "drupal"
|
|
user: "drupal"
|
|
password: "drupal"
|
|
post_install:
|
|
- "./vendor/bin/drush en -y facets_pretty_paths admin_toolbar search_api search_api_db"
|
|
- "./vendor/bin/drush cr"
|
|
settings:
|
|
settings:
|
|
file_scan_ignore_directories:
|
|
- "vendor"
|
|
- "${drupal.root}"
|
|
|
|
selenium:
|
|
host: "http://selenium:4444"
|
|
browser: "chrome"
|
|
|
|
commands:
|
|
drupal:site-setup:
|
|
- { task: "symlink", from: "../../..", to: "${drupal.root}/modules/custom/facets_pretty_paths" }
|
|
# Generate settings.testing.php, it will be used when running functional tests.
|
|
- { task: "process-php", type: "write", config: "drupal.settings", source: "${drupal.root}/sites/default/default.settings.php", destination: "${drupal.root}/sites/default/settings.testing.php", override: true }
|
|
- { task: "run", command: "drupal:drush-setup" }
|
|
- { task: "run", command: "drupal:settings-setup" }
|
|
- { task: "run", command: "setup:phpunit" }
|
|
setup:phpunit:
|
|
- { task: "process", source: "phpunit.xml.dist", destination: "phpunit.xml" }
|
|
drupal:phpcs:
|
|
- "phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info --ignore=vendor,build ."
|
|
drupal:phpcbf:
|
|
- "phpcbf --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info --ignore=vendor,build ." |