File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11language : php
22php :
3- - ' 5.5'
4- - ' 5.4'
3+ - ' 5.5'
4+ - ' 5.4'
55install :
6- - composer install
7- script : phpunit --bootstrap test/unit/bootstrap.php ./test/unit
6+ - composer install
7+ before_script :
8+ - curl -s http://getcomposer.org/installer | php
9+ - php composer.phar install --dev --no-interaction
10+ script :
11+ - mkdir -p test/output/report
12+ - composer test
13+ after_script :
14+ - php vendor/bin/coveralls
815notifications :
916 slack :
1017 secure : mw6HF2KR0YwYcIaYvV6qjuWC+XSIP8SQOe13VwmGf3b783hMcZDZTUS9N4bIfpwYi74A9qmzKdc425OSu45nceAf7hzFusCY5rYMoLQK/ksJ7sd+ay7tWhPRuomG1w8idTyXtzce23zOfBtOCHQakbavH2Uz6mh5lJYPFlMKW4c=
Original file line number Diff line number Diff line change 11[ ![ Travis CI] ( https://travis-ci.org/SparkPost/php-sparkpost.svg?branch=master )] ( https://travis-ci.org/SparkPost/php-sparkpost )
2+ [ ![ Coverage Status] ( https://coveralls.io/repos/SparkPost/php-sparkpost/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/SparkPost/php-sparkpost?branch=master )
23
34# SparkPost PHP SDK
45The official PHP binding for your favorite SparkPost APIs!
Original file line number Diff line number Diff line change 1111 "scripts" : {
1212 "post-install-cmd" : " if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\" api-key\" :\" Your API Key\"\n }' >> examples/example-config.json; fi" ,
1313 "post-update-cmd" : " if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\" api-key\" :\" Your API Key\"\n }' >> examples/example-config.json; fi" ,
14- "test" : " phpunit --coverage-html test/output/report --bootstrap test/unit/bootstrap.php ./test/unit/"
14+ "test" : " phpunit --coverage-html test/output/report --coverage-clover test/output/clover.xml -- bootstrap test/unit/bootstrap.php ./test/unit/"
1515 },
1616 "require" : {
1717 "php" : " >=5.3.0" ,
1818 "guzzlehttp/guzzle" : " 3.8.1"
1919 },
2020 "require-dev" : {
21- "phpunit/phpunit" : " 4.3.*"
21+ "phpunit/phpunit" : " 4.3.*" ,
22+ "satooshi/php-coveralls" : " dev-master"
2223 },
2324 "autoload" : {
2425 "psr-4" : {
You can’t perform that action at this time.
0 commit comments