mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 09:56:11 +01:00
Daniel Siepmann
16bc22aa44
Check which version to run and switch TYPO3 bootstrapping. Also allow tests to run with TYPO3 CMS 7.6 again.
50 lines
977 B
YAML
50 lines
977 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
|
|
- 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"
|
|
|
|
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
|