-
Notifications
You must be signed in to change notification settings - Fork 397
/
build.yml
97 lines (85 loc) · 2.73 KB
/
build.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
behat:
config: ${repo.root}/tests/behat/local.yml
haltonerror: true
strict: true
profile: local
# If true, `drush runserver` will be used for executing tests.
run-server: false
# This is used for ad-hoc creation of a server via `drush runserver`.
server-url: http://127.0.0.1:8888
# If true, Selenium standalone server will be launched with Behat.
launch-selenium: true
# If true, PhantomJS GhostDriver will be launched with Behat.
launch-phantomjs: false
# An array of paths with behat tests that should be executed.
paths:
# - ${docroot}/modules
# - ${docroot}/profiles
- ${repo.root}/tests/behat
tags: '~ajax&&~experimental&&~lightningextension'
verbose: ${blt.verbose}
extra: ''
blt:
update:
ignore-existing-file: ${blt.root}/scripts/blt/ignore-existing.txt
# Default verbosity level for <exec> tasks. If Phing msg level is => than info, this will be set to info.
exec_level: verbose
# If Phing verbosity is flagged, this will be changed to true. Affects verbosity of tasks like Drush, Behat.
verbose: false
config-files:
project: ${repo.root}/blt/project.yml
local: ${repo.root}/blt/project.local.yml
example-local: ${repo.root}/blt/example.project.local.yml
schema-version: ${repo.root}/blt/.schema_version
composer:
bin: ${repo.root}/${bin.path}
cm:
core:
config-dir: sync
deploy:
# If true, dependencies will be built during deploy. If false, you should commit dependencies directly.
build-dependencies: true
dir: ${repo.root}/deploy
exclude_file: ${blt.root}/phing/files/deploy-exclude.txt
gitignore_file: ${blt.root}/phing/files/.gitignore
# File and Directory locations.
docroot.relative: ${repo.root.relative}/docroot
docroot: ${repo.root}/docroot
# Drupal Account Credentials. These are used for installing Drupal.
drupal:
account.name: admin
account.password: admin
account.mail: [email protected]
drush:
bin: ${composer.bin}/drush
cmd: ${drush.bin} @${drush.alias} -l ${multisite.name}
dir: ${docroot}
uri: ${multisite.name}
assume: yes
passthru: yes
logoutput: yes
sanitize: true
verbose: ${blt.verbose}
git:
# The value of a hook should be the file path to a directory containing an
# executable file named after the hook.
# Changing a hook value to 'false' will disable it.
hooks:
pre-commit: ${blt.root}/scripts/git-hooks
commit-msg: ${blt.root}/scripts/git-hooks
multisite:
# The docroot/sites/default directory is used by default.
name:
- default
# - another_site
reports:
localDir: ${repo.root}/reports
remoteDir: reports
phpcs:
filesets:
- files.php.custom.modules
- files.php.tests
- files.frontend.custom.themes
project:
local:
uri: ${project.local.protocol}://${project.local.hostname}