mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-01 00:56:11 +01:00
Daniel Siepmann
97c0485e6f
Travis has installed elasticsearch already, we therefore need to Restart instead of start, as starting again will not work.
51 lines
1,006 B
YAML
51 lines
1,006 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 restart
|
|
- mysql -u root -e 'GRANT ALL ON `typo3_ci_ft%`.* TO travis@127.0.0.1;'
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
|
|
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:
|
|
- TYPO3_VERSION="~7.6"
|
|
- TYPO3_VERSION="~8.7"
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
services:
|
|
- mysql
|
|
|
|
install: make install
|
|
|
|
script:
|
|
- make cgl
|
|
- make unitTests
|
|
- make functionalTests
|
|
|
|
after_script:
|
|
- make uploadCodeCoverage
|
|
- make clean
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|