WIP|FEATURE: Try to make functional tests work on travis

This commit is contained in:
Daniel Siepmann 2016-12-09 20:00:42 +01:00
parent 8dc373c0b2
commit 4ff23c60c2
2 changed files with 10 additions and 10 deletions

View file

@ -2,14 +2,19 @@ language: php
php:
- 5.6
- 7.0
# Elastica is not compatible yet, see https://travis-ci.org/DanielSiepmann/search_core/jobs/182692743
# - 7.0
env:
global:
- TYPO3_DATABASE_NAME="typo3_ci"
- TYPO3_DATABASE_HOST="127.0.0.1"
- TYPO3_DATABASE_USERNAME="root"
- TYPO3_DATABASE_USERNAME="travis"
- TYPO3_DATABASE_PASSWORD=""
- typo3DatabaseName="typo3_ci"
- typo3DatabaseHost="127.0.0.1"
- typo3DatabaseUsername="travis"
- typo3DatabasePassword=""
matrix:
- TYPO3_VERSION="~6.2"
- TYPO3_VERSION="~7.6"
@ -28,13 +33,8 @@ matrix:
php: 5.6
services:
- mysql-5.6
- elasticsearch-5.0
before_install:
- composer self-update
- composer --version
- mysql -u root -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('')"
- mysql
- elasticsearch
install:
- make install

View file

@ -12,7 +12,7 @@ typo3DatabaseHost ?= "127.0.0.1"
.PHONY: install
install:
rm -rf .Build
COMPOSER_PROCESS_TIMEOUT=1000 composer require -vvv --dev --prefer-source typo3/cms="$(TYPO3_VERSION)"
COMPOSER_PROCESS_TIMEOUT=1000 composer require -vv --dev --prefer-source typo3/cms="$(TYPO3_VERSION)"
git checkout composer.json
mkdir -p $(TYPO3_WEB_DIR)/uploads $(TYPO3_WEB_DIR)/typo3temp