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: php:
- 5.6 - 5.6
# Elastica is not compatible yet, see https://travis-ci.org/DanielSiepmann/search_core/jobs/182692743 - 7.0
# - 7.0 - 7.1
env: env:
global: global:
@ -22,25 +22,28 @@ env:
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures:
- env: TYPO3_VERSION="~6.2"
php: 7.0
- env: TYPO3_VERSION="dev-master"
php: 7.0
exclude: exclude:
# TYPO3 no longer supports 5.6 # TYPO3 no longer supports 5.6
- env: TYPO3_VERSION="dev-master" - env: TYPO3_VERSION="dev-master"
php: 5.6 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: services:
- mysql - mysql
- elasticsearch - elasticsearch
install: install: make install
- make install
script: script: make Tests
- make Tests
cache: cache:
directories: directories:

View file

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