WIP|FEATURE: Integrate functional tests into travis

This commit is contained in:
Daniel Siepmann 2016-12-09 19:50:53 +01:00
parent a7714945c6
commit 3bd2b9c52d
2 changed files with 11 additions and 1 deletions

View file

@ -5,6 +5,11 @@ php:
- 7.0
env:
global:
- TYPO3_DATABASE_NAME="typo3_ci"
- TYPO3_DATABASE_HOST="127.0.0.1"
- TYPO3_DATABASE_USERNAME="root"
- TYPO3_DATABASE_PASSWORD=""
matrix:
- TYPO3_VERSION="~6.2"
- TYPO3_VERSION="~7.6"
@ -22,9 +27,14 @@ matrix:
- env: TYPO3_VERSION="dev-master"
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('')"
install:
- make install

View file

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