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 /
2
1
/build /
3
2
/vendor /
4
3
/composer.lock
Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ language: php
3
3
php :
4
4
- ' 7.1'
5
5
- ' 7.2'
6
+ - ' 7.3'
6
7
7
8
before_script :
8
9
- composer self-update
9
10
- composer install --prefer-source --no-interaction
10
11
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
12
13
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 3
3
[ ![ Latest Stable Version] ( https://poser.pugx.org/remorhaz/php-json-patch/v/stable )] ( https://packagist.org/packages/remorhaz/php-json-patch )
4
4
[ ![ License] ( https://poser.pugx.org/remorhaz/php-json-patch/license )] ( https://packagist.org/packages/remorhaz/php-json-patch )
5
5
[ ![ 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 )
8
8
9
9
This library implements [ RFC6902] ( https://tools.ietf.org/html/rfc6902 ) -compliant JSON patch tool.
10
10
Original file line number Diff line number Diff line change 12
12
}
13
13
],
14
14
"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 "
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " >=7.0.1 <8.0" ,
21
- "codeclimate/php-test-reporter" : " dev-master"
20
+ "phpunit/phpunit" : " ^7.0.1"
22
21
},
23
22
"autoload" : {
24
23
"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