[BUGFIX] Language-module icons need to display in correct size
[Packages/TYPO3.CMS.git] / .travis.yml
index 8c077b1..95dde70 100644 (file)
@@ -7,6 +7,7 @@ php:
 
 env:
   - DB=mysql UNITTESTS=1
+  - DB=none FUNCTIONALTESTS=1
   - DB=none PHPLINT=1
 
 services:
@@ -34,6 +35,13 @@ before_script:
     fi
 
   - >
+    if [[ "$FUNCTIONALTESTS" == "1" ]]; then
+       mv build-environment/typo3conf .
+       git clone --single-branch --branch master --depth 1 git://git.typo3.org/TYPO3v4/Extensions/phpunit.git typo3conf/ext/phpunit/
+       mkdir typo3temp
+    fi
+
+  - >
     if [[ "$DB" == "mysql" ]]; then
        mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot
        mysql -e "CREATE DATABASE IF NOT EXISTS typo3_test;" -uroot
@@ -45,8 +53,10 @@ script:
   - >
     if [[ "$PHPLINT" == "1" ]]; then
        phpLint all
-    fi
-  - >
-    if [[ "$UNITTESTS" == "1" ]]; then
+    elif [[ "$UNITTESTS" == "1" ]]; then
        php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml
-    fi
+    elif [[ "$FUNCTIONALTESTS" == "1" ]]; then
+       ./typo3conf/ext/phpunit/Composer/vendor/bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml
+    else
+       exit 1
+    fi
\ No newline at end of file