From d8c20dcbacfc454be2c6d160b72b0f9f4c4bb58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Wed, 27 Jul 2016 22:00:35 +0200 Subject: [PATCH] Add badges and code coverage --- .travis.yml | 8 +++++++- README.md | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7ba46c6..c4f5776 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,10 @@ before_script: - composer install --dev --prefer-source script: -- vendor/bin/phpunit --coverage-text + - vendor/bin/phpunit --coverage-clover=coverage.clover + + +# only send coverage for PHP 5.6 +after_script: + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/README.md b/README.md index 8e8991a..af8fc5b 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +# Daux.io + + +[![Latest Version](https://img.shields.io/github/release/onigoetz/daux.io.svg?style=flat-square)](https://github.com/onigoetz/daux.io/releases) +[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/onigoetz/daux.io/blob/master/LICENSE.md) +[![Build Status](https://img.shields.io/travis/onigoetz/daux.io/master.svg?style=flat-square)](https://travis-ci.org/onigoetz/daux.io) +[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/onigoetz/daux.io.svg?style=flat-square)](https://scrutinizer-ci.com/g/onigoetz/daux.io/code-structure) +[![Quality Score](https://img.shields.io/scrutinizer/g/onigoetz/daux.io.svg?style=flat-square)](https://scrutinizer-ci.com/g/onigoetz/daux.io) +[![Total Downloads](https://img.shields.io/packagist/dt/justinwalsh/daux.io.svg?style=flat-square)](https://packagist.org/packages/justinwalsh/daux.io) + + **Daux.io** is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way. ## Features