forked from upchuk/drupal10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunner.yml.dist
37 lines (35 loc) · 1.12 KB
/
runner.yml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
chapter: "chapter17"
drupal:
root: "build"
base_url: "http://nginx"
database:
host: "mariadb"
port: "3306"
name: "drupal"
user: "drupal"
password: "drupal"
post_install:
- "./vendor/bin/drush en admin_toolbar"
- "./vendor/bin/drush cr"
settings:
settings:
file_scan_ignore_directories:
- "vendor"
- "${drupal.root}"
selenium:
host: "http://selenium"
port: "4444"
browser: "chrome"
commands:
drupal:module-setup:
- { task: "symlink", from: "../../../packt/${chapter}", to: "${drupal.root}/modules/custom/packt" }
drupal:site-setup:
- { task: "run", command: "drupal:settings-setup" }
- { task: "run", command: "setup:phpunit" }
- { task: "run", command: "drupal:module-setup" }
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 ."