Try to enable coveralls
This commit is contained in:
parent
745036d262
commit
b44d5e9eee
8
composer.json
Normal file
8
composer.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"satooshi/php-coveralls": "dev-master"
|
||||
},
|
||||
"require": {
|
||||
"sauce/sausage": ">=0.4.0"
|
||||
}
|
||||
}
|
|
@ -19,7 +19,15 @@ fi
|
|||
echo "Good PHP version"
|
||||
|
||||
curl https://gist.github.com/seblucas/7692094/raw/e2a090e6ea639a0d700e6d02cee048fa2f6c8617/sauce_connect_setup.sh | bash
|
||||
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php
|
||||
wget http://getcomposer.org/composer.phar
|
||||
php composer.phar install
|
||||
|
||||
# Handle coveralls
|
||||
mkdir -p build/logs
|
||||
cp -v clover.xml build/logs/clover.xml
|
||||
php vendor/bin/coveralls -v
|
||||
|
||||
# Handle Sauce
|
||||
cp -v test/config_local.php.sauce config_local.php
|
||||
php -S 127.0.0.1:8888 &
|
||||
vendor/bin/phpunit --no-configuration test/Sauce.php
|
||||
|
|
Loading…
Reference in a new issue