[BUGFIX] Limit shown user groups in the permission module
[Packages/TYPO3.CMS.git] / .travis.yml
index 632eba3..e75d974 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
+      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
 
 sudo: false
 
@@ -16,9 +16,6 @@ addons:
   apt:
     packages:
       - parallel
-      - ack-grep
-      - nginx
-      - realpath
 
 cache:
   directories:
@@ -52,38 +49,21 @@ before_script:
   - 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
-  - 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 vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
     fi
 
   - >
     if [[ "$FUNCTIONAL_TESTS" == "yes" ]]; then
-      ./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
-
-  - >
-    if [[ "$ACCEPTANCE_TESTS" == "yes" ]]; then
-      ./bin/codecept run Acceptance -c typo3/sysext/core/Build/AcceptanceTests.yml --debug
-    fi
-
-  - >
-    if [[ "$JSUNIT_TESTS" == "yes" ]]; then
-      cd Build && npm update -g npm && npm install && cd ..
-      ./Build/node_modules/karma/bin/karma start typo3/sysext/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
 
   - >
@@ -93,7 +73,7 @@ script:
 
   - >
     if [[ "$XLF_CHECK" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/xlfcheck.sh
+      ./Build/Scripts/xlfcheck.sh
     fi
 
   - >