Added badges and TravisCI config

This commit is contained in:
Dmitry Khomutov 2017-01-09 20:14:04 +07:00
parent 0d5e00b8fd
commit 35745fba0a
2 changed files with 31 additions and 0 deletions

24
.travis.yml Normal file
View file

@ -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

View file

@ -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
==========