|
1 | 1 | ---
|
2 |
| -{ |
3 |
| - "kind": "pipeline", |
4 |
| - "name": "Codequality", |
5 |
| - "steps": [ |
6 |
| - { |
7 |
| - "commands": [ |
8 |
| - "php -v", |
9 |
| - "composer update", |
10 |
| - "composer require phpmd/phpmd phpstan/phpstan" |
11 |
| - ], |
12 |
| - "image": "joomlaprojects/docker-images:php8.1", |
13 |
| - "name": "composer", |
14 |
| - "volumes": [ |
15 |
| - { |
16 |
| - "name": "composer-cache", |
17 |
| - "path": "/tmp/composer-cache" |
18 |
| - } |
19 |
| - ] |
20 |
| - }, |
21 |
| - { |
22 |
| - "commands": [ |
23 |
| - "vendor/bin/phpcs --standard=ruleset.xml src/" |
24 |
| - ], |
25 |
| - "depends": [ |
26 |
| - "composer" |
27 |
| - ], |
28 |
| - "image": "joomlaprojects/docker-images:php8.1", |
29 |
| - "name": "phpcs" |
30 |
| - }, |
31 |
| - { |
32 |
| - "commands": [ |
33 |
| - "vendor/bin/phpmd src text cleancode", |
34 |
| - "vendor/bin/phpmd src text codesize", |
35 |
| - "vendor/bin/phpmd src text controversial", |
36 |
| - "vendor/bin/phpmd src text design", |
37 |
| - "vendor/bin/phpmd src text unusedcode" |
38 |
| - ], |
39 |
| - "depends": [ |
40 |
| - "composer" |
41 |
| - ], |
42 |
| - "failure": "ignore", |
43 |
| - "image": "joomlaprojects/docker-images:php8.1", |
44 |
| - "name": "phpmd" |
45 |
| - }, |
46 |
| - { |
47 |
| - "commands": [ |
48 |
| - "vendor/bin/phpstan analyse src" |
49 |
| - ], |
50 |
| - "depends": [ |
51 |
| - "composer" |
52 |
| - ], |
53 |
| - "failure": "ignore", |
54 |
| - "image": "joomlaprojects/docker-images:php8.1", |
55 |
| - "name": "phpstan" |
56 |
| - }, |
57 |
| - { |
58 |
| - "commands": [ |
59 |
| - "phploc src" |
60 |
| - ], |
61 |
| - "depends": [ |
62 |
| - "composer" |
63 |
| - ], |
64 |
| - "failure": "ignore", |
65 |
| - "image": "joomlaprojects/docker-images:php8.1", |
66 |
| - "name": "phploc" |
67 |
| - }, |
68 |
| - { |
69 |
| - "commands": [ |
70 |
| - "phpcpd src" |
71 |
| - ], |
72 |
| - "depends": [ |
73 |
| - "composer" |
74 |
| - ], |
75 |
| - "failure": "ignore", |
76 |
| - "image": "joomlaprojects/docker-images:php8.1", |
77 |
| - "name": "phpcpd" |
78 |
| - } |
79 |
| - ], |
80 |
| - "volumes": [ |
81 |
| - { |
82 |
| - "host": { |
83 |
| - "path": "/tmp/composer-cache" |
84 |
| - }, |
85 |
| - "name": "composer-cache" |
86 |
| - } |
87 |
| - ] |
88 |
| -} |
| 2 | +kind: pipeline |
| 3 | +name: Codequality |
| 4 | +steps: |
| 5 | +- commands: |
| 6 | + - php -v |
| 7 | + - composer update |
| 8 | + image: joomlaprojects/docker-images:php8.1 |
| 9 | + name: composer |
| 10 | + volumes: |
| 11 | + - name: composer-cache |
| 12 | + path: /tmp/composer-cache |
| 13 | +- commands: |
| 14 | + - vendor/bin/phpcs --standard=ruleset.xml src/ |
| 15 | + depends: |
| 16 | + - composer |
| 17 | + image: joomlaprojects/docker-images:php8.1 |
| 18 | + name: phpcs |
| 19 | +- commands: |
| 20 | + - vendor/bin/phan |
| 21 | + depends: |
| 22 | + - composer |
| 23 | + failure: ignore |
| 24 | + image: joomlaprojects/docker-images:php8.1-ast |
| 25 | + name: phan |
| 26 | +- commands: |
| 27 | + - vendor/bin/phpstan analyse src |
| 28 | + depends: |
| 29 | + - composer |
| 30 | + failure: ignore |
| 31 | + image: joomlaprojects/docker-images:php8.1 |
| 32 | + name: phpstan |
| 33 | +- commands: |
| 34 | + - phploc src |
| 35 | + depends: |
| 36 | + - composer |
| 37 | + failure: ignore |
| 38 | + image: joomlaprojects/docker-images:php8.1 |
| 39 | + name: phploc |
| 40 | +- commands: |
| 41 | + - phpcpd src |
| 42 | + depends: |
| 43 | + - composer |
| 44 | + failure: ignore |
| 45 | + image: joomlaprojects/docker-images:php8.1 |
| 46 | + name: phpcpd |
| 47 | +volumes: |
| 48 | +- host: |
| 49 | + path: /tmp/composer-cache |
| 50 | + name: composer-cache |
89 | 51 | ---
|
90 |
| -{ |
91 |
| - "kind": "pipeline", |
92 |
| - "name": "PHP 8.1 lowest", |
93 |
| - "steps": [ |
94 |
| - { |
95 |
| - "commands": [ |
96 |
| - "php -v", |
97 |
| - "composer update --prefer-stable --prefer-lowest" |
98 |
| - ], |
99 |
| - "image": "joomlaprojects/docker-images:php8.1", |
100 |
| - "name": "composer", |
101 |
| - "volumes": [ |
102 |
| - { |
103 |
| - "name": "composer-cache", |
104 |
| - "path": "/tmp/composer-cache" |
105 |
| - } |
106 |
| - ] |
107 |
| - }, |
108 |
| - { |
109 |
| - "commands": [ |
110 |
| - "vendor/bin/phpunit" |
111 |
| - ], |
112 |
| - "image": "joomlaprojects/docker-images:php8.1", |
113 |
| - "name": "PHPUnit" |
114 |
| - } |
115 |
| - ], |
116 |
| - "volumes": [ |
117 |
| - { |
118 |
| - "host": { |
119 |
| - "path": "/tmp/composer-cache" |
120 |
| - }, |
121 |
| - "name": "composer-cache" |
122 |
| - } |
123 |
| - ] |
124 |
| -} |
| 52 | +kind: pipeline |
| 53 | +name: PHP 8.1 lowest |
| 54 | +steps: |
| 55 | +- commands: |
| 56 | + - php -v |
| 57 | + - composer update --prefer-stable --prefer-lowest |
| 58 | + image: joomlaprojects/docker-images:php8.1 |
| 59 | + name: composer |
| 60 | + volumes: |
| 61 | + - name: composer-cache |
| 62 | + path: /tmp/composer-cache |
| 63 | +- commands: |
| 64 | + - vendor/bin/phpunit |
| 65 | + image: joomlaprojects/docker-images:php8.1 |
| 66 | + name: PHPUnit |
| 67 | +volumes: |
| 68 | +- host: |
| 69 | + path: /tmp/composer-cache |
| 70 | + name: composer-cache |
125 | 71 | ---
|
126 |
| -{ |
127 |
| - "kind": "pipeline", |
128 |
| - "name": "PHP 8.1", |
129 |
| - "steps": [ |
130 |
| - { |
131 |
| - "commands": [ |
132 |
| - "php -v", |
133 |
| - "composer update --prefer-stable" |
134 |
| - ], |
135 |
| - "image": "joomlaprojects/docker-images:php8.1", |
136 |
| - "name": "composer", |
137 |
| - "volumes": [ |
138 |
| - { |
139 |
| - "name": "composer-cache", |
140 |
| - "path": "/tmp/composer-cache" |
141 |
| - } |
142 |
| - ] |
143 |
| - }, |
144 |
| - { |
145 |
| - "commands": [ |
146 |
| - "vendor/bin/phpunit" |
147 |
| - ], |
148 |
| - "image": "joomlaprojects/docker-images:php8.1", |
149 |
| - "name": "PHPUnit" |
150 |
| - } |
151 |
| - ], |
152 |
| - "volumes": [ |
153 |
| - { |
154 |
| - "host": { |
155 |
| - "path": "/tmp/composer-cache" |
156 |
| - }, |
157 |
| - "name": "composer-cache" |
158 |
| - } |
159 |
| - ] |
160 |
| -} |
| 72 | +kind: pipeline |
| 73 | +name: PHP 8.1 |
| 74 | +steps: |
| 75 | +- commands: |
| 76 | + - php -v |
| 77 | + - composer update --prefer-stable |
| 78 | + image: joomlaprojects/docker-images:php8.1 |
| 79 | + name: composer |
| 80 | + volumes: |
| 81 | + - name: composer-cache |
| 82 | + path: /tmp/composer-cache |
| 83 | +- commands: |
| 84 | + - vendor/bin/phpunit |
| 85 | + image: joomlaprojects/docker-images:php8.1 |
| 86 | + name: PHPUnit |
| 87 | +volumes: |
| 88 | +- host: |
| 89 | + path: /tmp/composer-cache |
| 90 | + name: composer-cache |
161 | 91 | ---
|
162 |
| -{ |
163 |
| - "kind": "pipeline", |
164 |
| - "name": "PHP 8.2", |
165 |
| - "steps": [ |
166 |
| - { |
167 |
| - "commands": [ |
168 |
| - "php -v", |
169 |
| - "composer update --prefer-stable --ignore-platform-reqs" |
170 |
| - ], |
171 |
| - "image": "joomlaprojects/docker-images:php8.2", |
172 |
| - "name": "composer", |
173 |
| - "volumes": [ |
174 |
| - { |
175 |
| - "name": "composer-cache", |
176 |
| - "path": "/tmp/composer-cache" |
177 |
| - } |
178 |
| - ] |
179 |
| - }, |
180 |
| - { |
181 |
| - "commands": [ |
182 |
| - "vendor/bin/phpunit" |
183 |
| - ], |
184 |
| - "failure": "ignore", |
185 |
| - "image": "joomlaprojects/docker-images:php8.2", |
186 |
| - "name": "PHPUnit" |
187 |
| - } |
188 |
| - ], |
189 |
| - "volumes": [ |
190 |
| - { |
191 |
| - "host": { |
192 |
| - "path": "/tmp/composer-cache" |
193 |
| - }, |
194 |
| - "name": "composer-cache" |
195 |
| - } |
196 |
| - ] |
197 |
| -} |
| 92 | +kind: pipeline |
| 93 | +name: PHP 8.2 |
| 94 | +steps: |
| 95 | +- commands: |
| 96 | + - php -v |
| 97 | + - composer update --prefer-stable |
| 98 | + image: joomlaprojects/docker-images:php8.2 |
| 99 | + name: composer |
| 100 | + volumes: |
| 101 | + - name: composer-cache |
| 102 | + path: /tmp/composer-cache |
| 103 | +- commands: |
| 104 | + - vendor/bin/phpunit |
| 105 | + image: joomlaprojects/docker-images:php8.2 |
| 106 | + name: PHPUnit |
| 107 | +volumes: |
| 108 | +- host: |
| 109 | + path: /tmp/composer-cache |
| 110 | + name: composer-cache |
198 | 111 | ---
|
199 | 112 | kind: signature
|
200 |
| -hmac: 3020d65d007c99b2e2f529f94950f74277ebfcddc1a01bd1277462d029bb19a3 |
| 113 | +hmac: 359f132c744f714b1f25b942977ed4e7b71d08b578b028134469f9d7546c5a88 |
201 | 114 |
|
202 | 115 | ...
|
0 commit comments