/
.lando.yml
38 lines (38 loc) · 1.17 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
name: slimredirects
phpversions: 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4
services:
php:
type: php:7.4
via: cli
xdebug: true
php7:
type: php:7.2
via: cli
xdebug: true
tooling:
composer:
service: php
description: Run composer commands on php latest
cmd: cd /app && export COMPOSER_VENDOR_DIR=vendor && export COMPOSER="./composer.json" && composer
composer7:
service: php7
description: Run composer commands on php 7.2
cmd: cd /app && export COMPOSER_VENDOR_DIR=vendor7 && export COMPOSER="./composer7.json" && composer
php:
service: php
cmd: php
php7:
service: php7
cmd: php
phpunit:
service: php
description: Run phpunit latest testing
cmd:
- cd /app && export COMPOSER_VENDOR_DIR=vendor && export COMPOSER="./composer.json" && composer install
- cd /app && php ./vendor/bin/phpunit --verbose --configuration ./phpunit.xml
phpunit7:
service: php7
description: Run phpunit 7.2 testing
cmd:
- cd /app && export COMPOSER_VENDOR_DIR=vendor7 && export COMPOSER="./composer7.json" && composer install
- cd /app && php ./vendor7/bin/phpunit --verbose --configuration ./phpunit7.xml