-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.lando.yml
51 lines (42 loc) · 1.12 KB
/
.lando.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
name: yaml-fixtures
recipe: wordpress
config:
webroot: wp
php: '7.0'
services:
appserver:
run:
- cd $LANDO_MOUNT && composer install
- cd $LANDO_MOUNT && scripts/setup-wp.sh
overrides:
services:
environment:
# Pass any non-empty CI envvar from the host into Lando
# This is so we can force non-interactive mode setting up WP
CI: ${CI:-''}
database:
type: mysql:5.7
tooling:
install:
service: appserver
cmd: '/app/scripts/setup-wp.sh'
description: 'Install and configure WordPress for custom plugin dev'
debug:
service: appserver
cmd: 'tail -f /app/wp/wp-content/debug.log'
description: 'Get real-time debug log output'
unit:
service: appserver
cmd: 'vendor/bin/phpunit --group unit'
description: 'Run unit tests'
sniff:
service: appserver
cmd: 'composer sniff'
description: 'Run phpcs code sniffer'
release:
service: appserver
cmd: '/app/scripts/build-release.sh'
description: 'Build a downloadable release of the YAML WP Fixtures plugin'
proxy:
appserver:
- yaml-fixtures.lndo.site