TASK: Migrate dev dependencies

As testing framework is used, we can prefer dist again to speed up
composer installation.
This commit is contained in:
Daniel Siepmann 2017-07-07 12:03:06 +02:00
parent 3d90bad58d
commit 705e3be85a
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@ current_dir := $(dir $(mkfile_path))
TYPO3_WEB_DIR := $(current_dir).Build/web
TYPO3_PATH_ROOT := $(current_dir).Build/web
# Allow different versions on travis
TYPO3_VERSION ?= ~8.2
TYPO3_VERSION ?= ~8.7
typo3DatabaseName ?= "searchcore_test2"
typo3DatabaseUsername ?= "dev"
typo3DatabasePassword ?= "dev"
@ -12,7 +12,7 @@ typo3DatabaseHost ?= "127.0.0.1"
.PHONY: install
install: clean
COMPOSER_PROCESS_TIMEOUT=1000 composer require -vv --dev --prefer-source --ignore-platform-reqs typo3/cms="$(TYPO3_VERSION)"
COMPOSER_PROCESS_TIMEOUT=1000 composer require -vv --dev --prefer-dist --ignore-platform-reqs typo3/cms="$(TYPO3_VERSION)"
git checkout composer.json
functionalTests:

View file

@ -1,7 +1,7 @@
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="../../.Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTestsBootstrap.php"
bootstrap="../../.Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php"
colors="true"
convertErrorsToExceptions="false"

View file

@ -21,7 +21,8 @@
"ruflin/elastica": "~3.2"
},
"require-dev": {
"phpunit/phpunit": "~5.7.0"
"typo3/testing-framework": "~1.1.0",
"phpunit/phpunit": "~6.2.0"
},
"config": {
"optimize-autoloader": true,