-
Notifications
You must be signed in to change notification settings - Fork 4
/
buddy.yml
75 lines (75 loc) · 3.01 KB
/
buddy.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
- pipeline: "test"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "refs/*"
ref_type: "WILDCARD"
trigger_condition: "ALWAYS"
actions:
- action: "PHP 7.2"
type: "BUILD"
working_directory: "/buddy/composer-plugin"
docker_image_name: "library/php"
docker_image_tag: "7.2"
execute_commands:
- "composer validate"
- "composer install"
- "composer tests"
setup_commands:
- "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
- "apt-get update && apt-get install -y git zip"
- "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
volume_mappings:
- "/:/buddy/composer-plugin"
trigger_condition: "ALWAYS"
shell: "BASH"
- action: "PHP 7.3"
type: "BUILD"
working_directory: "/buddy/composer-plugin"
docker_image_name: "library/php"
docker_image_tag: "7.3"
execute_commands:
- "composer validate"
- "composer install"
- "composer tests"
setup_commands:
- "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
- "apt-get update && apt-get install -y git zip"
- "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
volume_mappings:
- "/:/buddy/composer-plugin"
trigger_condition: "ALWAYS"
shell: "BASH"
- action: "PHP 7.4"
type: "BUILD"
working_directory: "/buddy/composer-plugin"
docker_image_name: "library/php"
docker_image_tag: "7.4"
execute_commands:
- "composer validate"
- "composer install"
- "composer tests"
setup_commands:
- "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
- "apt-get update && apt-get install -y git zip"
- "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
volume_mappings:
- "/:/buddy/composer-plugin"
trigger_condition: "ALWAYS"
shell: "BASH"
- action: "PHP 8.0"
type: "BUILD"
working_directory: "/buddy/composer-plugin"
docker_image_name: "library/php"
docker_image_tag: "8.0"
execute_commands:
- "composer validate"
- "composer update"
- rm -rf tests-plugin/composer.lock tests-plugin/vendor
- "composer tests"
setup_commands:
- "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
- "apt-get update && apt-get install -y git zip"
- "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
volume_mappings:
- "/:/buddy/composer-plugin"
trigger_condition: "ALWAYS"
shell: "BASH"