From 53a60740937fc4312a2326480dcd293e38a72988 Mon Sep 17 00:00:00 2001 From: ivanbabenko Date: Tue, 12 May 2020 20:19:09 +0200 Subject: [PATCH] Add compatibility notes --- .travis.yml | 7 ++++++- README.md | 9 +++++++++ composer.json | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 565e364..dc75ebf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,15 @@ language: php php: - 7.2 - 7.3 + - 7.4 + +env: + - TESTBENCH_VERSION=4.0 + - TESTBENCH_VERSION=5.0 before_script: - composer global require --no-interaction --prefer-dist --update-no-dev hirak/prestissimo - - composer install --no-interaction --prefer-dist + - composer require --no-interaction --prefer-dist orchestra/testbench:$TESTBENCH_VERSION script: - bin/phpunit --testsuit unit --testdox diff --git a/README.md b/README.md index 3942615..837fbca 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Elasticsearch migrations for Laravel allow you to easily modify and share indice ## Contents +* [Compatibility](#compatibility) * [Installation](#installation) * [Configuration](#configuration) * [Writing Migrations](#writing-migrations) @@ -22,6 +23,14 @@ Elasticsearch migrations for Laravel allow you to easily modify and share indice * [Migration Status](#migration-status) * [Troubleshooting](#migration-status) +## Compatibility + +The current version of Elastic Migrations has been tested with the following configuration: + +* PHP 7.2-7.4 +* Elasticsearch 7.x +* Laravel 6.x-7.x + ## Installation The library can be installed via Composer: diff --git a/composer.json b/composer.json index 58ddde8..42810b2 100644 --- a/composer.json +++ b/composer.json @@ -27,12 +27,13 @@ } }, "require": { + "php": "^7.2", "babenkoivan/elastic-client": "^1.0", "babenkoivan/elastic-adapter": "^1.0" }, "require-dev": { "phpunit/phpunit": "^8.4", - "orchestra/testbench": "^4.4" + "orchestra/testbench": "^5.2" }, "config": { "bin-dir": "bin"