diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 95f5ea5..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1,2 +0,0 @@ -service_name: travis-ci -src_dir: . \ No newline at end of file diff --git a/README.md b/README.md index 063b514..037bef4 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ See : http://blog.slucas.fr/en/oss/calibre-opds-php-server [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/seblucas/cops/badges/quality-score.png?s=e1c87a92ef90b8d666cd9bd4f3612bd10db84364)](https://scrutinizer-ci.com/g/seblucas/cops/) -[![Coverage Status](https://coveralls.io/repos/seblucas/cops/badge.png)](https://coveralls.io/r/seblucas/cops) +[![Code Coverage](https://scrutinizer-ci.com/g/seblucas/cops/badges/coverage.png?s=1e21d8c3bf96d7b0b7cc0e54429fa897ddea1506)](https://scrutinizer-ci.com/g/seblucas/cops/) [![Build Status](https://travis-ci.org/seblucas/cops.png)](https://travis-ci.org/seblucas/cops) diff --git a/composer.json b/composer.json index 6e3121c..90fb004 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,4 @@ { - "require-dev": { - "satooshi/php-coveralls": "dev-master" - }, "require": { "sauce/sausage": ">=0.4.0" } diff --git a/test/prepareSauceTest.sh b/test/prepareSauceTest.sh index 3c27a98..29732d2 100644 --- a/test/prepareSauceTest.sh +++ b/test/prepareSauceTest.sh @@ -22,10 +22,9 @@ echo "Good PHP version" 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 scrutinizer +wget https://scrutinizer-ci.com/ocular.phar +php ocular.phar code-coverage:upload --format=php-clover clover.xml # Handle Sauce curl https://gist.github.com/seblucas/7692094/raw/e2a090e6ea639a0d700e6d02cee048fa2f6c8617/sauce_connect_setup.sh | bash