From ccf06383c1fa66f5be0909cac3bd0b768733072e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 4 Dec 2013 18:29:41 +0100 Subject: [PATCH] coveralls try to use a src directory. Change the config --- test/prepareSauceTest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/prepareSauceTest.sh b/test/prepareSauceTest.sh index 8f79937..535f016 100644 --- a/test/prepareSauceTest.sh +++ b/test/prepareSauceTest.sh @@ -18,16 +18,18 @@ fi echo "Good PHP version" -curl https://gist.github.com/seblucas/7692094/raw/e2a090e6ea639a0d700e6d02cee048fa2f6c8617/sauce_connect_setup.sh | bash +# Install dependencies wget http://getcomposer.org/composer.phar php composer.phar install # Handle coveralls mkdir -p build/logs cp -v clover.xml build/logs/clover.xml +echo "src_dir: ." > .coveralls.yml php vendor/bin/coveralls -v # Handle Sauce +curl https://gist.github.com/seblucas/7692094/raw/e2a090e6ea639a0d700e6d02cee048fa2f6c8617/sauce_connect_setup.sh | bash 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