diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7d62c41 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: php +sudo: false + +matrix: + include: + - php: 7.0 + +cache: + directories: + - "$HOME/.composer/cache" + +install: + - composer update + +script: + - ./vendor/bin/phpunit --coverage-clover=coverage.xml + +after_success: + - pip install --user codecov && codecov + +notifications: + email: false diff --git a/README.md b/README.md index 60cecbd..90b4e45 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Filesystem PSR-6 Cache pool [![Gitter](https://badges.gitter.im/php-cache/cache.svg)](https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Latest Stable Version](https://poser.pugx.org/cache/filesystem-adapter/v/stable)](https://packagist.org/packages/cache/filesystem-adapter) +[![codecov.io](https://codecov.io/github/php-cache/filesystem-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/filesystem-adapter?branch=master) [![Total Downloads](https://poser.pugx.org/cache/filesystem-adapter/downloads)](https://packagist.org/packages/cache/filesystem-adapter) [![Monthly Downloads](https://poser.pugx.org/cache/filesystem-adapter/d/monthly.png)](https://packagist.org/packages/cache/filesystem-adapter) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)