File tree Expand file tree Collapse file tree 7 files changed +38
-29
lines changed Expand file tree Collapse file tree 7 files changed +38
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- /.idea /
21/build /
32/vendor /
43/composer.lock
Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ language: php
33php :
44 - ' 7.1'
55 - ' 7.2'
6+ - ' 7.3'
67
78before_script :
89 - composer self-update
910 - composer install --prefer-source --no-interaction
1011
11- script : vendor/bin/phpunit
12+ script : vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml
1213
13- after_script :
14- - vendor/bin/test-reporter
14+ after_success :
15+ - bash <(curl -s https://codecov.io/bash -s "build/logs")
16+ - wget https://scrutinizer-ci.com/ocular.phar
17+ - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
Original file line number Diff line number Diff line change 33[ ![ Latest Stable Version] ( https://poser.pugx.org/remorhaz/php-json-patch/v/stable )] ( https://packagist.org/packages/remorhaz/php-json-patch )
44[ ![ License] ( https://poser.pugx.org/remorhaz/php-json-patch/license )] ( https://packagist.org/packages/remorhaz/php-json-patch )
55[ ![ Build Status] ( https://travis-ci.org/remorhaz/php-json-patch.svg?branch=master )] ( https://travis-ci.org/remorhaz/php-json-patch )
6- [ ![ Code Climate ] ( https://codeclimate .com/github /remorhaz/php-json-patch/badges/gpa.svg )] ( https://codeclimate .com/github /remorhaz/php-json-patch )
7- [ ![ Test Coverage ] ( https://codeclimate.com/github /remorhaz/php-json-patch/badges/coverage .svg )] ( https://codeclimate.com/github /remorhaz/php-json-patch/coverage )
6+ [ ![ Scrutinizer Code Quality ] ( https://scrutinizer-ci .com/g /remorhaz/php-json-patch/badges/quality-score.png?b=master )] ( https://scrutinizer-ci .com/g /remorhaz/php-json-patch/?branch=master )
7+ [ ![ codecov ] ( https://codecov.io/gh /remorhaz/php-json-patch/branch/master/graph/badge .svg )] ( https://codecov.io/gh /remorhaz/php-json-patch )
88
99This library implements [ RFC6902] ( https://tools.ietf.org/html/rfc6902 ) -compliant JSON patch tool.
1010
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "php" : " >= 7.1" ,
16- "remorhaz/php-json-data" : " ~ 0.4.2" ,
17- "remorhaz/php-json-pointer" : " ~ 0.5.0 "
15+ "php" : " ^ 7.1" ,
16+ "remorhaz/php-json-data" : " ^ 0.4.2" ,
17+ "remorhaz/php-json-pointer" : " ^ 0.5.1 "
1818 },
1919 "require-dev" : {
20- "phpunit/phpunit" : " >=7.0.1 <8.0" ,
21- "codeclimate/php-test-reporter" : " dev-master"
20+ "phpunit/phpunit" : " ^7.0.1"
2221 },
2322 "autoload" : {
2423 "psr-4" : {
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+
3+ services :
4+ php :
5+ build :
6+ context : .
7+ dockerfile : php-7.3.Dockerfile
8+ volumes :
9+ - .:/app
10+ working_dir : /app
Original file line number Diff line number Diff line change 1+ FROM php:7.3-cli
2+
3+ RUN apt-get update && apt-get install -y \
4+ zip \
5+ git \
6+ libicu-dev && \
7+ pecl install xdebug && \
8+ docker-php-ext-enable xdebug && \
9+ docker-php-ext-configure intl --enable-intl && \
10+ docker-php-ext-install intl
11+
12+ ENV COMPOSER_ALLOW_SUPERUSER=1 \
13+ COMPOSER_PROCESS_TIMEOUT=1200
14+
15+ RUN curl --silent --show-error https://getcomposer.org/installer | php -- \
16+ --install-dir=/usr/bin --filename=composer
You can’t perform that action at this time.
0 commit comments