search_core/.travis.yml
Daniel Siepmann ebaeaf4c92
TASK: Support PHP 7.0
As some (e.g. debian) do not provide PHP 7.1 and we did not use so much
features which were introduced in PHP 7.1, we add support for PHP 7.0.
2018-02-22 21:59:13 +01:00

46 lines
919 B
YAML

sudo: true
addons:
apt:
packages:
- oracle-java8-set-default
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.0.deb && sudo dpkg -i --force-confnew elasticsearch-5.2.0.deb && sudo service elasticsearch start
- mysql -u root -e 'GRANT ALL ON `typo3_ci_ft%`.* TO travis@127.0.0.1;'
language: php
php:
- 7.0
- 7.1
env:
global:
- TYPO3_DATABASE_NAME="typo3_ci"
- TYPO3_DATABASE_HOST="127.0.0.1"
- TYPO3_DATABASE_USERNAME="travis"
- TYPO3_DATABASE_PASSWORD=""
- typo3DatabaseName="typo3_ci"
- typo3DatabaseHost="127.0.0.1"
- typo3DatabaseUsername="travis"
- typo3DatabasePassword=""
matrix:
fast_finish: true
services:
- mysql
install: make install
script:
- make unitTests
- make functionalTests
after_script:
- make uploadCodeCoverage
- make clean
cache:
directories:
- $HOME/.composer/cache