[BUGFIX] Use correct property for images in FrontendUser
[Packages/TYPO3.CMS.git] / .travis.yml
index b17d592..b0da4ae 100644 (file)
@@ -8,7 +8,7 @@ matrix:
 
   include:
     - php: 7
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes ACCEPTANCE_TESTS=no JSUNIT_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes  EXCEPTIONCODE_TEST=yes
+      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes JSUNIT_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
 
 sudo: false
 
@@ -16,18 +16,11 @@ addons:
   apt:
     packages:
       - parallel
-      - ack-grep
-      - nginx
-      - realpath
 
 cache:
   directories:
     - $HOME/.composer/cache
 
-env:
-  global:
-    secure: NGVAI0ayw2h9pB2bi2u9AkfV1OKa2LCrGXNtxAvQhFxKW28qmeOUehFuacxpvCI5fA8Ae7oVo2Ba0vcpb5a3uJry1lMpxcn9Ic+voB7SwlCuL6Rx/vntPkYUH+58cC3t40yHKArCUE9KCJA6znNCaZ7MyG6dWHgry0cvAjVOQzE=
-
 services:
   - memcached
   - redis-server
@@ -55,40 +48,28 @@ 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
-  - if [ "$GITHUB_COMPOSER_AUTH" ]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
   - composer install
-  - typo3/sysext/core/Build/Configuration/TravisNginxFpm/ConfigureStartNginxFpm.sh
-  - mkdir -p typo3temp/var/tests
   - export typo3DatabaseName="typo3"
   - export typo3DatabaseHost="localhost"
   - export typo3DatabaseUsername="root"
   - export typo3DatabasePassword=""
 
-before_install:
-    - export DISPLAY=:99.0
-    - sh -e /etc/init.d/xvfb start
-
 script:
   - >
     if [[ "$UNIT_TESTS" == "yes" ]]; then
-      ./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml
+      ./bin/phpunit -c components/testing_framework/Resources/Core/Build/UnitTests.xml
     fi
 
   - >
     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'
-    fi
-
-  - >
-    if [[ "$ACCEPTANCE_TESTS" == "yes" ]]; then
-      ./bin/codecept run Acceptance -c typo3/sysext/core/Build/AcceptanceTests.yml --debug
+      ./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 install && cd ..
-      ./Build/node_modules/karma/bin/karma start typo3/sysext/core/Build/Configuration/JSUnit/karma.conf.js --single-run
+      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
     fi
 
   - >
@@ -98,7 +79,7 @@ script:
 
   - >
     if [[ "$XLF_CHECK" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/xlfcheck.sh
+      ./Build/Scripts/xlfcheck.sh
     fi
 
   - >
@@ -110,8 +91,3 @@ script:
         fi
       "
     fi
-
-  - >
-    if [[ "$EXCEPTIONCODE_TEST" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/duplicateExceptionCodeCheck.sh
-    fi