File tree 4 files changed +1604
-587
lines changed
4 files changed +1604
-587
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
- php :
3
- - ' 7.2'
4
- - ' 7.3'
2
+
3
+ matrix :
4
+ include :
5
+ - php : 7.2
6
+ env : CORCEL='^4.0'
7
+ - php : 7.3
8
+ env : CORCEL='^4.0'
9
+ - php : 7.3
10
+ env : CORCEL='^5.0'
11
+ - php : 7.4
12
+ env : CORCEL='^4.0'
13
+ - php : 7.4
14
+ env : CORCEL='^5.0'
15
+
5
16
dist : trusty
6
- sudo : required
17
+
7
18
addons :
8
19
apt :
9
20
packages :
10
21
- unzip
11
22
- mysql-server-5.6
12
23
- mysql-client-core-5.6
13
24
- mysql-client-5.6
14
- before_install :
25
+
26
+ before_script :
15
27
- unzip tests/config/database.sql.zip -d tests/config/
16
28
- mysql -u root -e "create database corcel_acf;"
17
29
- mysql -u root corcel_acf < tests/config/database.sql
18
- before_script :
30
+
31
+ before_install :
32
+ - rm composer.lock
19
33
- composer self-update
20
- - composer install
34
+ - composer require jgrossi/corcel:$CORCEL --no-interaction --no-update
35
+
36
+ install :
37
+ - composer install --prefer-dist --no-interaction --no-suggest
38
+
21
39
script :
22
40
- mkdir -p build/logs
23
- - ./vendor/bin/phpunit
41
+ - ./vendor/bin/phpunit
Original file line number Diff line number Diff line change 12
12
],
13
13
"require" : {
14
14
"php" : " >=7.2" ,
15
- "jgrossi/corcel" : " ^4.0"
15
+ "jgrossi/corcel" : " ^4.0|^5.0 "
16
16
},
17
17
"require-dev" : {
18
- "phpunit/phpunit" : " ^8.0"
18
+ "phpunit/phpunit" : " ^8.4|^9. 0"
19
19
},
20
20
"autoload" : {
21
21
"psr-4" : {
You can’t perform that action at this time.
0 commit comments