[TASK] travis-ci: Less parallel jobs 79/53779/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 22 Aug 2017 16:54:52 +0000 (18:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 22 Aug 2017 18:04:59 +0000 (20:04 +0200)
travis-ci still chockes on functional tests, even if
splitting them among lots of single tasks. Run less
tests in parallel and split to ever more jobs to have
a higher chance for 10 minute output with given cpu
constraints.

Change-Id: Iafc984aaef96ec59422f9c48a74b7308dd7cd7d7
Resolves: #82170
Releases: master, 8.7, 7.6
Reviewed-on: https://review.typo3.org/53779
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
.travis.yml

index fb65d3b..dac2d9d 100644 (file)
@@ -69,8 +69,8 @@ script:
         export typo3DatabaseHost="localhost";
         export typo3DatabaseUsername="root";
         export typo3DatabasePassword="";
-        ./typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh 20;
-        parallel --jobs 4 -a <(seq 0 19) --gnu './bin/phpunit -c typo3/sysext/core/Build/FunctionalTests-Job-{}.xml'
+        ./typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh 24;
+        parallel --jobs 4 -a <(seq 0 23) --gnu './bin/phpunit -c typo3/sysext/core/Build/FunctionalTests-Job-{}.xml'
     fi
   - >
     if [[ "$PHP_LINT" == "yes" ]]; then