mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-25 06:36:14 +01:00
WIP|FEATURE: Try to make functional tests work on travis
This commit is contained in:
parent
8dc373c0b2
commit
4ff23c60c2
2 changed files with 10 additions and 10 deletions
18
.travis.yml
18
.travis.yml
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue