From b5db36b6e01ce8e1c302a384d8d165e22b9d5671 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Tue, 19 Sep 2017 21:11:53 +0200 Subject: [PATCH] Readme - add badges - TravisCI, Packagist, StyleCI, GitHub commits, GitHub license, Coverage --- .styleci.yml | 1 + .travis.yml | 12 ++++++++++++ README.md | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 .styleci.yml create mode 100644 .travis.yml diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 0000000..974f5fa --- /dev/null +++ b/.styleci.yml @@ -0,0 +1 @@ +preset: symfony diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5cc2936 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: php + +php: + - 5.6 + - 7.0 + - 7.1 + +install: + - composer install + +script: + - php ./vendor/bin/phpunit diff --git a/README.md b/README.md index 27e4c8c..65fc75e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Meritoo LimeSurvey API Client Client of the [LimeSurvey's API](https://manual.limesurvey.org/RemoteControl_2_API). +[![Travis](https://img.shields.io/travis/rust-lang/rust.svg?style=flat-square)](https://travis-ci.org/meritoo/limesurvey-api-client) [![Packagist](https://img.shields.io/packagist/v/meritoo/limesurvey-api-client.svg?style=flat-square)](https://packagist.org/packages/meritoo/limesurvey-api-client) [![StyleCI](https://styleci.io/repos/104114960/shield?branch=master)](https://styleci.io/repos/104114960) [![license](https://img.shields.io/github/license/meritoo/limesurvey-api-client.svg?style=flat-square)](https://github.com/meritoo/limesurvey-api-client) [![GitHub commits](https://img.shields.io/github/commits-since/meritoo/limesurvey-api-client/0.0.1.svg?style=flat-square)](https://github.com/meritoo/limesurvey-api-client) [![Coverage Status](https://coveralls.io/repos/github/meritoo/limesurvey-api-client/badge.svg?branch=master)](https://coveralls.io/github/meritoo/limesurvey-api-client?branch=master) + ## Installation Run [Composer](https://getcomposer.org) to install this package in your project: