[TASK] Cleanup inline JavaScript in Backend
[Packages/TYPO3.CMS.git] / .travis.yml
index 241f9b2..111476c 100644 (file)
@@ -1,21 +1,18 @@
 language: php
 
-node_js:
-    - "0.10"
-
 matrix:
   fast_finish: true
 
   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
 
 sudo: false
 
 addons:
   apt:
     packages:
-      - parallel
+      - language-pack-de
 
 cache:
   directories:
@@ -48,46 +45,10 @@ 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
-  - export typo3DatabaseName="typo3"
-  - export typo3DatabaseHost="localhost"
-  - export typo3DatabaseUsername="root"
-  - export typo3DatabasePassword=""
+  - COMPOSER_ROOT_VERSION=dev-master composer install
 
 script:
   - >
     if [[ "$UNIT_TESTS" == "yes" ]]; then
-      ./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml
-    fi
-
-  - >
-    if [[ "$FUNCTIONAL_TESTS" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/splitFunctionalTests.sh 14
-      parallel --jobs 4 -a <(seq 0 13) --gnu './bin/phpunit -c typo3/sysext/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 typo3/sysext/core/Build/Configuration/JSUnit/karma.conf.js --single-run
-    fi
-
-  - >
-    if [[ "$PHP_LINT" == "yes" ]]; then
-      find typo3/ -name \*.php -not -path "vendor/*" | parallel --jobs 6 --gnu php -d display_errors=stderr -l {} > /dev/null \;
-    fi
-
-  - >
-    if [[ "$XLF_CHECK" == "yes" ]]; then
-      ./typo3/sysext/core/Build/Scripts/xlfcheck.sh
-    fi
-
-  - >
-    if [[ "$SUBMODULE_TEST" == "yes" ]]; then
-      /bin/bash -c "
-        if [[ `git submodule status 2>&1 | wc -l` -ne 0 ]]; then
-          echo \"Found a submodule definition in repository\";
-          exit 99;
-        fi
-      "
+      ./bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
     fi