From 35745fba0a027f62af0c76d91a7fa9e76b0d5988 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Mon, 9 Jan 2017 20:14:04 +0700 Subject: [PATCH] Added badges and TravisCI config --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..07725194 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: php + +php: + - 5.6 + - 7.0 + - hhvm + +matrix: + fast_finish: true + +install: + - composer selfupdate + - composer install + +script: + - phpunit --configuration phpunit.xml + +notifications: + email: + recipients: + - poisoncorpsee@gmail.com + + on_success: always + on_failure: always diff --git a/README.md b/README.md index 840c5ffb..3ec9faa9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ +[![PHPCensor](http://phpci.corpsee.com/build-status/image/9?branch=master&label=PHPCensor&style=flat-square)](http://phpci.corpsee.com/build-status/view/9?branch=master) +[![TravisCI](https://img.shields.io/travis/corpsee/php-censor/master.svg?label=TravisCI&style=flat-square)](https://travis-ci.org/corpsee/php-censor?branch=master) +[![Latest Version](https://img.shields.io/packagist/v/corpsee/php-censor.svg?label=Version&style=flat-square)](https://packagist.org/packages/corpsee/php-censor) +[![Total downloads](https://img.shields.io/packagist/dt/corpsee/php-censor.svg?label=Downloads&style=flat-square)](https://packagist.org/packages/corpsee/php-censor) +[![License](https://img.shields.io/packagist/l/corpsee/php-censor.svg?label=License&style=flat-square)](https://packagist.org/packages/corpsee/php-censor) +[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/26f28bee-a861-45b2-bc18-ed2ac7defd22.svg?label=Insight&style=flat-square)](https://insight.sensiolabs.com/projects/26f28bee-a861-45b2-bc18-ed2ac7defd22) + PHP Censor ==========