-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
53 lines (44 loc) · 1.16 KB
/
.gitlab-ci.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
stages:
- install
- test
.install:
stage: install
interruptible: true
script:
- composer install --ansi --no-interaction --prefer-dist
artifacts:
expire_in: 2 days
paths:
- vendor/
install.php82:
extends: .install
image: grifart/php8.2-with-all-modules-and-various-tools
install.php83:
extends: .install
image: grifart/php8.3-with-all-modules-and-various-tools
install.php84:
extends: .install
image: grifart/php8.4-with-all-modules-and-various-tools
.test:
stage: test
interruptible: true
script:
- vendor/bin/tester -c tests/php-unix.ini tests
test.php82:
extends: .test
image: grifart/php8.2-with-all-modules-and-various-tools
dependencies: [ install.php82 ]
test.php83:
extends: .test
image: grifart/php8.3-with-all-modules-and-various-tools
dependencies: [ install.php83 ]
test.php84:
extends: .test
image: grifart/php8.4-with-all-modules-and-various-tools
dependencies: [ install.php84 ]
phpstan:
stage: test
image: grifart/php8.4-with-all-modules-and-various-tools
dependencies: [ install.php84 ]
script:
- vendor/bin/phpstan analyze --ansi --no-progress --no-interaction --level max src tests