-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.lando.yml
40 lines (40 loc) · 1.07 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
name: midcamp-org
recipe: lagoon
config:
flavor: drupal
build:
- /usr/local/bin/composer install
- npm install
tooling:
composer:
service: cli
description: Run composer with no memory restrictions
cmd:
- php -d memory_limit=-1 /usr/local/bin/composer
behat:
service: cli
description: Run Behat tests
cmd:
- /app/vendor/bin/behat
phpcs:
service: cli
cmd:
- /app/vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
- /app/vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info
phpmd:
service: cli
cmd:
- /app/vendor/bin/phpmd
drupal-check:
service: cli
description: Run Drupal Check
get-db:
service: cli
description: Import a fresh copy of the production database
cmd:
- drush sql-sync @lagoon.midcamp-org-production @self -y
get-files:
service: cli
description: Fetch files (via rsync) from production
cmd:
- drush rsync @lagoon.midcamp-org-production:%files @self:%files -y