File tree 3 files changed +40
-6
lines changed
3 files changed +40
-6
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ commands:
24
24
steps :
25
25
- run : composer test-unit-ci
26
26
- store_artifacts :
27
- path : build/coverage.xml
27
+ path : build/coverage.xml
28
28
run-integration-tests :
29
29
steps :
30
30
- run : composer test-integration-ci
31
31
- store_artifacts :
32
- path : build/coverage.xml
32
+ path : build/coverage.xml
33
33
34
34
jobs :
35
35
php_7 :
41
41
- run :
42
42
command : bash <(curl -s https://codecov.io/bash)
43
43
when : on_success
44
+ php_7_2 :
45
+ docker :
46
+ - image : circleci/php:7.2
47
+ steps :
48
+ - prepare
49
+ - run-unit-tests
50
+ - run :
51
+ command : bash <(curl -s https://codecov.io/bash)
52
+ when : on_success
53
+ php_7_3 :
54
+ docker :
55
+ - image : circleci/php:7.3
56
+ steps :
57
+ - prepare
58
+ - run-unit-tests
59
+ - run :
60
+ command : bash <(curl -s https://codecov.io/bash)
61
+ when : on_success
62
+ php_7_4 :
63
+ docker :
64
+ - image : circleci/php:7.4
65
+ steps :
66
+ - prepare
67
+ - run-unit-tests
68
+ - run :
69
+ command : bash <(curl -s https://codecov.io/bash)
70
+ when : on_success
44
71
php_7_integration_tests :
45
72
docker :
46
73
- image : circleci/php:7.1
@@ -66,6 +93,9 @@ workflows:
66
93
build-and-test :
67
94
jobs :
68
95
- php_7
96
+ - php_7_2
97
+ - php_7_3
98
+ - php_7_4
69
99
- snyk :
70
100
# Must define SNYK_TOKEN env
71
101
context : snyk-env
@@ -77,4 +107,4 @@ workflows:
77
107
filters :
78
108
branches :
79
109
only :
80
- - master
110
+ - master
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ coverage:
19
19
default :
20
20
enabled : true
21
21
if_no_uploads : error
22
- comment : false
22
+ comment : false
Original file line number Diff line number Diff line change 22
22
"josegonzalez/dotenv" : " ^2.0" ,
23
23
"squizlabs/php_codesniffer" : " ^3.2" ,
24
24
"phpcompatibility/php-compatibility" : " ^8.1" ,
25
- "dealerdirect/phpcodesniffer-composer-installer" : " ^0.5.0 " ,
25
+ "dealerdirect/phpcodesniffer-composer-installer" : " ^0.7 " ,
26
26
"cache/array-adapter" : " ^1.0"
27
27
},
28
28
"autoload" : {
47
47
"compat" : " \" vendor/bin/phpcs\" --standard=.phpcs-compat.xml.dist" ,
48
48
"sniffs" : " \" vendor/bin/phpcs\" -e" ,
49
49
"config-phpcs" : " Dealerdirect\\ Composer\\ Plugin\\ Installers\\ PHPCodeSniffer\\ Plugin::run" ,
50
- "pre-commit" : [ " @test" , " @compat" , " @phpcbf" ]
50
+ "pre-commit" : [
51
+ " @test" ,
52
+ " @compat" ,
53
+ " @phpcbf"
54
+ ]
51
55
}
52
56
}
You can’t perform that action at this time.
0 commit comments