File tree Expand file tree Collapse file tree 1 file changed +38
-6
lines changed Expand file tree Collapse file tree 1 file changed +38
-6
lines changed Original file line number Diff line number Diff line change 1
- # PHP CircleCI 2.0 configuration file
1
+ # CircleCI Configuration file for test builds for PA-API Package.
2
2
#
3
- # Check https://circleci.com/docs/2.0/language-php/ for more details
3
+ # Check https://circleci.com/docs/introduction-to-yaml-configurations/
4
4
#
5
- version : 2
5
+ ---
6
+ version : 2.1
6
7
jobs :
7
- build :
8
+ test-lowest :
9
+ # Use the defined CircleCI IP Ranges.
10
+ circleci_ip_ranges : true
11
+
12
+ # Docker Container/PHP Version to Use.
8
13
docker :
9
- # Specify the version you desire here
10
14
- image : cimg/php:8.0
11
15
16
+ resource_class : small
17
+
12
18
steps :
13
19
- checkout
14
20
15
- - run : composer install -n -- prefer-dist
21
+ - run : composer install -- prefer-dist --no-interaction --no-scripts
16
22
17
23
- run : composer phpcs
18
24
19
25
- run : composer test
26
+
27
+ test-highest :
28
+ # Use the defined CircleCI IP Ranges.
29
+ circleci_ip_ranges : true
30
+
31
+ # Docker Container/PHP Version to Use.
32
+ docker :
33
+ - image : cimg/php:8.4
34
+
35
+ resource_class : small
36
+
37
+ steps :
38
+ - checkout
39
+
40
+ - run : composer install --prefer-dist --no-interaction --no-scripts
41
+
42
+ - run : composer phpcs
43
+
44
+ - run : composer test
45
+
46
+ workflows :
47
+ build :
48
+ jobs :
49
+ # Build and Test the code.
50
+ - test-highest
51
+ - test-lowest
You can’t perform that action at this time.
0 commit comments