Skip to content

Commit

Permalink
Add compatibility notes
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed May 12, 2020
1 parent 7824f6f commit 53a6074
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 53a6074

Please sign in to comment.