File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ trim_trailing_whitespace = true
1212
1313[* .md ]
1414trim_trailing_whitespace = false
15+
16+ [* .yml ]
17+ indent_size = 2
Original file line number Diff line number Diff line change 2222 - windows-latest
2323
2424 php :
25- - " 7.4"
26- - " 8.0"
25+ - 7.4
26+ - 8.0
2727
2828 steps :
2929 - name : Checkout
7171
7272 - name : Update composer
7373 run : composer self-update
74-
75- - name : Install dependencies with composer php 7.4
76- if : matrix.php == '7.4'
77- run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
7874
79- - name : Install dependencies with composer php 8.0
80- if : matrix.php == '8.0'
81- run : composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
75+ - name : Install dependencies with composer
76+ run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
8277
8378 - name : Run tests with phpunit
8479 run : vendor/bin/phpunit --colors=always
Original file line number Diff line number Diff line change 1818 - ubuntu-latest
1919
2020 php :
21- - " 7.4"
21+ - 7.4
2222
2323 steps :
2424 - name : Checkout
Original file line number Diff line number Diff line change 1616 - ubuntu-latest
1717
1818 php :
19- - " 7.4"
19+ - 7.4
2020
2121 steps :
2222 - name : Checkout
Original file line number Diff line number Diff line change 11checks :
2- php : true
2+ php : true
33
44filter :
5- paths :
6- - " src/*"
5+ paths :
6+ - " src/*"
77
88build :
9- nodes :
10- analysis :
11- environment :
12- php : 7.4.12
13-
14- tests :
15- override :
16- - php-scrutinizer-run
17-
18- tests-and-coverage :
19- environment :
20- php : 7.4.12
21-
22- dependencies :
23- override :
24- - composer self-update
25- - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
26-
27- tests :
28- override :
29- -
30- command : " ./vendor/bin/phpunit --coverage-clover ./coverage.xml"
31- on_node : 1
32- coverage :
33- file : coverage.xml
34- format : php-clover
35-
36-
9+ environment :
10+ php :
11+ version : 8.0.11
12+ ini :
13+ " xdebug.mode " : coverage
14+
15+ nodes :
16+ analysis :
17+ tests :
18+ override :
19+ - php-scrutinizer-run
20+
21+ phpunit :
22+ dependencies :
23+ override :
24+ - wget https://sqlite.org/2021/sqlite-autoconf-3340100.tar.gz --no-check-certificate
25+ - tar -xvf sqlite-autoconf-3340100.tar.gz && cd sqlite-autoconf-3340100
26+ - ./configure
27+ - make
28+ - sudo make install
29+ - export PATH="/usr/local/lib:$PATH"
30+ - sqlite3 --version && cd ..
31+ - composer self-update
32+ - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
33+
34+ tests :
35+ override :
36+ - command : " ./vendor/bin/phpunit --coverage-clover ./coverage.xml"
37+ on_node : 1
38+ coverage :
39+ file : coverage.xml
40+ format : php-clover
You can’t perform that action at this time.
0 commit comments