FEATURE: Use latest stable elastica version (#5)

* As we should use it anyway.
* It's compatible with PHP 7
* Also we added php 7.1 to travis
This commit is contained in:
Daniel Siepmann 2016-12-10 13:59:34 +01:00 committed by GitHub
parent 4ff23c60c2
commit c3763a0982
2 changed files with 16 additions and 13 deletions

View file

@ -2,8 +2,8 @@ language: php
php:
- 5.6
# Elastica is not compatible yet, see https://travis-ci.org/DanielSiepmann/search_core/jobs/182692743
# - 7.0
- 7.0
- 7.1
env:
global:
@ -22,25 +22,28 @@ env:
matrix:
fast_finish: true
allow_failures:
- env: TYPO3_VERSION="~6.2"
php: 7.0
- env: TYPO3_VERSION="dev-master"
php: 7.0
exclude:
# TYPO3 no longer supports 5.6
- env: TYPO3_VERSION="dev-master"
php: 5.6
# There is some error with 6.2 and 7 not finding the "UnitTestsBootstrap.php"
- env: TYPO3_VERSION="~6.2"
php: 7.0
- env: TYPO3_VERSION="~6.2"
php: 7.1
allow_failures:
- env: TYPO3_VERSION="dev-master"
php: 7.0
- env: TYPO3_VERSION="dev-master"
php: 7.1
services:
- mysql
- elasticsearch
install:
- make install
install: make install
script:
- make Tests
script: make Tests
cache:
directories:

View file

@ -17,8 +17,8 @@
},
"require" : {
"php": ">=5.6.0",
"typo3/cms": ">=6.2.0",
"ruflin/elastica": "~1.4"
"typo3/cms": "~6.2",
"ruflin/elastica": "~3.2"
},
"require-dev": {
"phpunit/phpunit": "~4.8.0"