[TASK] Travis: Split functionals into smaller hunks 45/49345/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 3 Aug 2016 13:21:37 +0000 (15:21 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 3 Aug 2016 13:42:28 +0000 (15:42 +0200)
Split functionals into 10 instead of 6 hunks and execute
only 4 hunks in parallel to have a lower risk of "stalled"
builds if travis is under load.

Change-Id: I8ea54bac8f94242f90809a79ad934a7334c6955f
Resolves: #77380
Releases: master
Reviewed-on: https://review.typo3.org/49345
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
.travis.yml

index 4f3d15e..cc1d6db 100644 (file)
@@ -71,8 +71,8 @@ script:
 
   - >
     if [[ "$FUNCTIONAL_TESTS" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh 6
-      parallel -a <(seq 0 5) --gnu './bin/phpunit -c typo3/sysext/core/Build/FunctionalTests-Job-{}.xml'
+      ./typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh 10
+      parallel --jobs 4 -a <(seq 0 9) --gnu './bin/phpunit -c typo3/sysext/core/Build/FunctionalTests-Job-{}.xml'
     fi
 
   - >