File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
matrix :
10
10
allow_failures :
11
+ # Requires phpunit 5.7 (3.7 works up to PHP 7.1)
11
12
- php : 7.2
12
13
13
14
before_script :
14
15
- composer install -n --dev --prefer-source
16
+ - wget -O phpunit https://phar.phpunit.de/phpunit-5.phar
17
+ - chmod +x phpunit
15
18
16
- script : vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
19
+ script :
20
+ - vendor/bin/phpcs --standard=PSR2 src
21
+ # - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
22
+ - phpunit --coverage-text --coverage-clover=coverage.clover
17
23
18
24
after_script :
19
- - wget https://scrutinizer-ci.com/ocular.phar
20
- - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
25
+ - wget https://scrutinizer-ci.com/ocular.phar
26
+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
27
+
28
+ # TODO: For PHP7.2, get phpunit 5.7:
29
+ # wget -O phpunit https://phar.phpunit.de/phpunit-5.phar
30
+ # Set it for execute permission.
You can’t perform that action at this time.
0 commit comments