diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f2f6e2a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php +php: + - 7.1 + - 7.2 + +branches: + only: + - master + +install: + - composer install --prefer-source + +script: +- ./vendor/bin/phpunit -c phpunit.xml.dist diff --git a/README.md b/README.md index 7416967..e83c4fb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ BiiG Elasticsearch component ============================ +[![Build Status](https://travis-ci.org/biig-io/ElasticsearhComponent.svg?branch=master)](https://travis-ci.org/biig-io/ElasticsearhComponent) + This library is designed to give you some set of classes you define almost all the time if you use Elastica. This is based on Elastica and do not much for you except standard behavior.