diff --git a/.travis.yml b/.travis.yml index c79518e..79f4a67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,11 @@ sudo: false language: php +addons: + apt: + packages: + - parallel + services: - mysql diff --git a/CHANGELOG.md b/CHANGELOG.md index 68f8c09..7dd806b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ## x.y.z ### Added +- Run the functional tests in parallel (#58) - Add PHP-CS-Fixer (#53) - Add support for PHP 7.3 (#51) - Add support for TYPO3 9.6 (#48) diff --git a/composer.json b/composer.json index c84fb99..596d315 100644 --- a/composer.json +++ b/composer.json @@ -67,7 +67,7 @@ "ci:php:sniff": "phpcs Classes Tests", "ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript/", "ci:tests:unit": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/", - "ci:tests:functional": "phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml Tests/Functional/", + "ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}';", "ci:tests": [ "@ci:tests:unit", "@ci:tests:functional"