[TASK] Enable color output for unit/functional tests 77/43277/3
authorMathias Brodala <mbrodala@pagemachine.de>
Sun, 13 Sep 2015 15:01:25 +0000 (17:01 +0200)
committerNicole Cordes <typo3@cordes.co>
Sun, 13 Sep 2015 15:59:25 +0000 (17:59 +0200)
Resolves: #69762
Releases: master, 6.2
Change-Id: I6520afb1fc65f77dd12f4f771cce36cbdced3ce9
Reviewed-on: http://review.typo3.org/43277
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
.travis.yml
typo3/sysext/core/Build/FunctionalTests.xml
typo3/sysext/core/Build/UnitTests.xml

index 4551360..ff3e65f 100644 (file)
@@ -66,7 +66,7 @@ script:
     if [[ "$UNIT_TESTS" == "yes" ]]; then
       echo;
       echo "Running unit tests";
-      ./bin/phpunit --colors -c typo3/sysext/core/Build/UnitTests.xml
+      ./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml
     fi
   - >
     if [[ "$FUNCTIONAL_TESTS" == "yes" ]]; then
@@ -75,7 +75,7 @@ script:
         export typo3DatabaseHost="localhost";
         export typo3DatabaseUsername="root";
         export typo3DatabasePassword="";
-        find . -wholename '*typo3/sysext/*/Tests/Functional/*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; ./bin/phpunit --colors -c typo3/sysext/core/Build/FunctionalTests.xml {}'
+        find . -wholename '*typo3/sysext/*/Tests/Functional/*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; ./bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml {}'
     fi
   - >
     if [[ "$PHP_LINT" == "yes" ]]; then
index 761af79..7c91c73 100644 (file)
@@ -11,7 +11,7 @@
        backupGlobals="true"
        backupStaticAttributes="false"
        bootstrap="FunctionalTestsBootstrap.php"
-       colors="false"
+       colors="true"
        convertErrorsToExceptions="true"
        convertWarningsToExceptions="true"
        forceCoversAnnotation="false"
index ab756eb..0078936 100644 (file)
@@ -2,7 +2,7 @@
        backupGlobals="true"
        backupStaticAttributes="false"
        bootstrap="UnitTestsBootstrap.php"
-       colors="false"
+       colors="true"
        convertErrorsToExceptions="true"
        convertWarningsToExceptions="true"
        forceCoversAnnotation="false"