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 1
1
language : php
2
2
php :
3
- - ' 5.5'
4
- - ' 5.4'
3
+ - ' 5.5'
4
+ - ' 5.4'
5
5
install :
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
8
15
notifications :
9
16
slack :
10
17
secure : mw6HF2KR0YwYcIaYvV6qjuWC+XSIP8SQOe13VwmGf3b783hMcZDZTUS9N4bIfpwYi74A9qmzKdc425OSu45nceAf7hzFusCY5rYMoLQK/ksJ7sd+ay7tWhPRuomG1w8idTyXtzce23zOfBtOCHQakbavH2Uz6mh5lJYPFlMKW4c=
Original file line number Diff line number Diff line change 1
1
[ ![ 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 )
2
3
3
4
# SparkPost PHP SDK
4
5
The official PHP binding for your favorite SparkPost APIs!
Original file line number Diff line number Diff line change 11
11
"scripts" : {
12
12
"post-install-cmd" : " if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\" api-key\" :\" Your API Key\"\n }' >> examples/example-config.json; fi" ,
13
13
"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/"
15
15
},
16
16
"require" : {
17
17
"php" : " >=5.3.0" ,
18
18
"guzzlehttp/guzzle" : " 3.8.1"
19
19
},
20
20
"require-dev" : {
21
- "phpunit/phpunit" : " 4.3.*"
21
+ "phpunit/phpunit" : " 4.3.*" ,
22
+ "satooshi/php-coveralls" : " dev-master"
22
23
},
23
24
"autoload" : {
24
25
"psr-4" : {
You can’t perform that action at this time.
0 commit comments