File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ SETTLE_MERCHANT_ID=
22SETTLE_USER_ID =
33SETTLE_PUBLIC_KEY =
44SETTLE_PRIVATE_KEY =
5- SETTLE_IN_SANDBOX =
5+ SETTLE_IN_SANDBOX =
6+ COVERALLS_RUN_LOCALLY = 1
7+ COVERALLS_REPO_TOKEN =
Original file line number Diff line number Diff line change 22vendor
33.phpunit.result.cache
44composer.lock
5- coverage
65.env
Original file line number Diff line number Diff line change 88 directories :
99 - $HOME/.composer/cache
1010
11- before_install :
12- - travis_retry composer self-update
13-
14-
1511install :
16- - travis_retry composer install --no-interaction
12+ - composer install --no-interaction
1713
1814script :
1915 - vendor/bin/pest
2016
2117after_success :
22- - travis_retry composer require php-coveralls/php-coveralls
23- - travis_retry vendor/bin/php-coveralls --coverage_clover=coverage/logs/clover.xml --json_path=coverage/logs/coveralls-upload.json -v
18+ - vendor/bin/php-coveralls --coverage_clover=coverage/logs/clover.xml --json_path=coverage/logs/coveralls-upload.json -v
Original file line number Diff line number Diff line change 11[ ![ License] ( https://img.shields.io/badge/license-Apache%202-brightgreen.svg )] ( https://github.com/daniel-zahariev/music-codes/blob/master/COPYING )
22[ ![ Build Status] ( https://api.travis-ci.com/daniel-zahariev/settle-sdk-php.svg?branch=main )] ( https://app.travis-ci.com/github/daniel-zahariev/settle-sdk-php )
3+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/daniel-zahariev/settle-sdk-php/badge.svg?branch=main )] ( https://coveralls.io/github/daniel-zahariev/settle-sdk-php?branch=main )
34
45# PHP SDK for connecting to the Settle Payment Platform
56
Original file line number Diff line number Diff line change 1818 },
1919 "require-dev" : {
2020 "pestphp/pest" : " ^1.20" ,
21+ "php-coveralls/php-coveralls" : " ^2.4" ,
2122 "vlucas/phpdotenv" : " ^5.3"
2223 },
2324 "autoload" : {
2627 }
2728 },
2829 "scripts" : {
29- "test" : " pest"
30+ "test" : " set -a; source .env; pest" ,
31+ "coverage" : " set -a; source .env; php-coveralls --coverage_clover=coverage/logs/clover.xml --json_path=coverage/logs/coveralls-upload.json -v"
3032 }
3133}
You can’t perform that action at this time.
0 commit comments