[BUGFIX] Empty item group in selectElement
[Packages/TYPO3.CMS.git] / .travis.yml
index 196b280..ba9dfa2 100644 (file)
@@ -3,16 +3,14 @@ language: php
 matrix:
   allow_failures:
     - php: 7
-    - php: hhvm-nightly
+
   include:
     - php: 5.5
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes PHP_LINT=yes XLF_CHECK=yes
+      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
     - php: 5.6
       env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes PHP_LINT=yes
     - php: 7
       env: UNIT_TESTS=yes
-    - php: hhvm-nightly
-      env: UNIT_TESTS=yes
 
 services:
   - memcached
@@ -59,12 +57,7 @@ script:
     if [[ "$PHP_LINT" == "yes" ]]; then
         echo;
         echo "Running php lint";
-        /bin/bash -c "
-            if ! find typo3/ -name \*.php | parallel --gnu 'php -l {}' > /tmp/errors 2>&1; then
-                grep -v \"No syntax errors detected in\" /tmp/errors;
-                exit 99;
-            fi
-        "
+        find typo3/ -name \*.php -not -path "typo3/contrib/vendor/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
     fi
   - >
     if [[ "$XLF_CHECK" == "yes" ]]; then
@@ -72,3 +65,14 @@ script:
         echo "Running XLF checker";
         ./typo3/sysext/core/Build/Scripts/xlfcheck.sh
     fi
+  - >
+      if [[ "$SUBMODULE_TEST" == "yes" ]]; then
+          echo;
+          echo "Running git submodule check";
+          /bin/bash -c "
+              if [[ `git submodule status 2>&1 | wc -l` -ne 0 ]]; then
+                  echo \"Found a submodule definition in repository\";
+                  exit 99;
+              fi
+          "
+      fi