diff --git a/.travis.yml b/.travis.yml index 73e12b4..202ee53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,5 +30,6 @@ script: after_success: - > test "$COVERAGE" = "1" + && cd externalurlfield && wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload -v --format=php-clover ~/coverage.xml diff --git a/README.md b/README.md index 2bc342d..e499add 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SilverStripe External URL Field -[![Build Status](https://travis-ci.org/burnbright/silverstripe-externalurlfield.svg?branch=master)](https://travis-ci.org/burnbright/silverstripe-externalurlfield) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/?branch=master) +[![Build Status](https://travis-ci.org/burnbright/silverstripe-externalurlfield.svg?branch=master)](https://travis-ci.org/burnbright/silverstripe-externalurlfield) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/burnbright/silverstripe-externalurlfield/?branch=master) Provides a `DBField` and `FormField` for handling external URLs.