[BUGFIX] Fix parse time calculation
[Packages/TYPO3.CMS.git] / .travis.yml
index 520a40f..39c5d26 100644 (file)
@@ -8,7 +8,7 @@ matrix:
 
   include:
     - php: 7
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes JSUNIT_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
+      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
 
 sudo: false
 
@@ -48,7 +48,7 @@ before_script:
   - phpenv config-rm xdebug.ini
   - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
   - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-  - composer install
+  - COMPOSER_ROOT_VERSION=8.7.0 composer install
   - export typo3DatabaseName="typo3"
   - export typo3DatabaseHost="localhost"
   - export typo3DatabaseUsername="root"
@@ -57,19 +57,13 @@ before_script:
 script:
   - >
     if [[ "$UNIT_TESTS" == "yes" ]]; then
-      ./bin/phpunit -c components/testing_framework/Resources/Core/Build/UnitTests.xml
+      ./bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
     fi
 
   - >
     if [[ "$FUNCTIONAL_TESTS" == "yes" ]]; then
-      ./components/testing_framework/Resources/Core/Build/Scripts/splitFunctionalTests.sh 14
-      parallel --jobs 4 -a <(seq 0 13) --gnu './bin/phpunit -c components/testing_framework/Resources/Core/Build/FunctionalTests-Job-{}.xml'
-    fi
-
-  - >
-    if [[ "$JSUNIT_TESTS" == "yes" ]]; then
-      cd Build && npm update -g npm && npm install && cd ..
-      ./Build/node_modules/karma/bin/karma start components/testing_framework/Resources/Core/Build/Configuration/JSUnit/karma.conf.js --single-run
+      ./vendor/typo3/testing-framework/Resources/Core/Build/Scripts/splitFunctionalTests.sh 14
+      parallel --jobs 4 -a <(seq 0 13) --gnu './bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests-Job-{}.xml'
     fi
 
   - >
@@ -79,7 +73,7 @@ script:
 
   - >
     if [[ "$XLF_CHECK" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/xlfcheck.sh
+      ./Build/Scripts/xlfcheck.sh
     fi
 
   - >