diff --git a/.travis.yml b/.travis.yml index 0f1371fc0f3908282b7b42dddc10c909ad925a61..83d890bcf4bd8d3be708850db777ad9009876d5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,4 +29,4 @@ before_script: - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/Introduction/typo3conf/ext/introduction/Resources/Private/Subpackages/Introduction/Database/introduction.sql; fi - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql; fi -script: php $PWD/typo3/cli_dispatch.phpsh phpunit $PWD/tests/ +script: php $PWD/typo3/cli_dispatch.phpsh phpunit -c tests/Build/UnitTests.xml diff --git a/tests/Build/UnitTests.xml b/tests/Build/UnitTests.xml new file mode 100644 index 0000000000000000000000000000000000000000..f0d04ad6abcf2c9d0d18bb79f6d3bbfabf52d95c --- /dev/null +++ b/tests/Build/UnitTests.xml @@ -0,0 +1,27 @@ +<phpunit backupGlobals="false" + backupStaticAttributes="false" + colors="false" + convertErrorsToExceptions="true" + convertWarningsToExceptions="true" + forceCoversAnnotation="false" + processIsolation="false" + stopOnError="false" + stopOnFailure="false" + stopOnIncomplete="false" + stopOnSkipped="false" + strict="false" + verbose="false"> + + <testsuites> + <testsuite name="Core Tests"> + <directory>../../tests/</directory> + </testsuite> + <testsuite name="Extbase Tests"> + <directory>../../typo3/sysext/extbase/[Tt]ests/</directory> + </testsuite> + <testsuite name="Fluid Tests"> + <directory>../../typo3/sysext/fluid/[Tt]ests/</directory> + </testsuite> + </testsuites> + +</phpunit>