File tree Expand file tree Collapse file tree 4 files changed +59
-24
lines changed Expand file tree Collapse file tree 4 files changed +59
-24
lines changed Original file line number Diff line number Diff line change
1
+ filter :
2
+ excluded_paths : [tests/*]
3
+
4
+ checks :
5
+ php :
6
+ remove_extra_empty_lines : true
7
+ remove_php_closing_tag : true
8
+ remove_trailing_whitespace : true
9
+ fix_use_statements :
10
+ remove_unused : true
11
+ preserve_multiple : false
12
+ preserve_blanklines : true
13
+ order_alphabetically : true
14
+ fix_php_opening_tag : true
15
+ fix_linefeed : true
16
+ fix_line_ending : true
17
+ fix_identation_4spaces : true
18
+ fix_doc_comments : true
19
+
20
+ tools :
21
+ external_code_coverage :
22
+ timeout : 600
23
+ runs : 3
Original file line number Diff line number Diff line change
1
+ dist : trusty
2
+ language : php
3
+
4
+ php :
5
+ - 7.0
6
+ - 7.1
7
+ - 7.2
8
+
9
+ # This triggers builds to run on the new TravisCI infrastructure.
10
+ # See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
11
+ sudo : false
12
+
13
+ # # Cache composer
14
+ cache :
15
+ directories :
16
+ - $HOME/.composer/cache
17
+
18
+ env :
19
+ matrix :
20
+ - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
21
+ - COMPOSER_FLAGS=""
22
+
23
+ before_script :
24
+ - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
25
+
26
+ script :
27
+ - vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no
28
+ - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
29
+
30
+ after_script :
31
+ - |
32
+ wget https://scrutinizer-ci.com/ocular.phar
33
+ php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Original file line number Diff line number Diff line change 3
3
[ ![ PHP from Packagist] ( https://img.shields.io/packagist/php-v/swisnl/php-http-fixture-client.svg )] ( https://packagist.org/packages/swisnl/php-http-fixture-client )
4
4
[ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/swisnl/php-http-fixture-client.svg )] ( https://packagist.org/packages/swisnl/php-http-fixture-client )
5
5
[ ![ Software License] ( https://img.shields.io/packagist/l/swisnl/php-http-fixture-client.svg )] ( https://github.com/swisnl/php-http-fixture-client/blob/master/LICENSE )
6
- [ ![ Run Status] ( https://api.shippable.com/projects/5a7d7deb260fde0600abe59e/badge?branch=master )] ( https://app.shippable.com/github/swisnl/php-http-fixture-client )
7
- [ ![ Coverage Badge] ( https://api.shippable.com/projects/5a7d7deb260fde0600abe59e/coverageBadge?branch=master )] ( https://app.shippable.com/github/swisnl/php-http-fixture-client )
6
+ [ ![ Build Status] ( https://travis-ci.org/swisnl/php-http-fixture-client.svg?branch=master )] ( https://travis-ci.org/swisnl/php-http-fixture-client )
7
+ [ ![ Scrutinizer Coverage] ( https://img.shields.io/scrutinizer/coverage/g/swisnl/php-http-fixture-client.svg )] ( https://scrutinizer-ci.com/g/swisnl/php-http-fixture-client/?branch=master )
8
+ [ ![ Scrutinizer Code Quality] ( https://img.shields.io/scrutinizer/g/swisnl/php-http-fixture-client.svg )] ( https://scrutinizer-ci.com/g/swisnl/php-http-fixture-client/?branch=master )
8
9
[ ![ Made by SWIS] ( https://img.shields.io/badge/%F0%9F%9A%80-made%20by%20SWIS-%23D9021B.svg )] ( https://www.swis.nl )
9
10
10
11
This is a fixture client for PHP-HTTP and is meant for testing purposes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments