This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ stages :
2
+ - install
3
+ - tests
4
+ - quality
5
+
6
+ composer :
7
+ stage : install
8
+ image : liteacz/php:7.4-cli-build
9
+ script :
10
+ - composer --version
11
+ - composer install -a --no-suggest --no-scripts --prefer-dist
12
+ artifacts :
13
+ expire_in : 25 mins
14
+ paths :
15
+ - vendor
16
+ only :
17
+ - tags
18
+ - web
19
+ - merge_requests
20
+
21
+ phpunit :
22
+ stage : tests
23
+ image : liteacz/php:7.4-cli-build
24
+ script :
25
+ - composer test
26
+ only :
27
+ - tags
28
+ - web
29
+ - merge_requests
30
+ dependencies :
31
+ - composer
32
+
33
+ phpstan :
34
+ stage : quality
35
+ image : liteacz/php:7.4-cli-build
36
+ script :
37
+ - composer run-script phpstan
38
+ dependencies :
39
+ - composer
40
+ only :
41
+ - tags
42
+ - web
43
+ - merge_requests
44
+
45
+ codesniffer :
46
+ stage : quality
47
+ image : liteacz/php:7.4-cli-build
48
+ script :
49
+ - composer run-script phpcs
50
+ dependencies :
51
+ - composer
52
+ only :
53
+ - tags
54
+ - web
55
+ - merge_requests
56
+
57
+ security-check :
58
+ stage : quality
59
+ image : liteacz/php:7.4-cli-build
60
+ script :
61
+ - composer run-script security
62
+ dependencies :
63
+ - composer
64
+ only :
65
+ - tags
66
+ - web
67
+ - merge_requests
You can’t perform that action at this time.
0 commit comments