Skip to content
Snippets Groups Projects
Commit ae479fe9 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Execute standalone functional tests in travis

Change-Id: If9195b5ef908ecf09d1a03f07f93cf983beaf474
Resolves: #51121
Releases: 6.2
Reviewed-on: https://review.typo3.org/23138
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 3ced73f8
Branches
Tags
No related merge requests found
......@@ -7,6 +7,7 @@ php:
env:
- DB=mysql UNITTESTS=1
- DB=none FUNCTIONALTESTS=1
- DB=none PHPLINT=1
services:
......@@ -33,6 +34,15 @@ before_script:
mkdir typo3temp
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
chmod u+x ./typo3conf/ext/phpunit/Composer/vendor/bin/phpunit
chmod u+x ./typo3conf/ext/phpunit/Composer/vendor/phpunit/phpunit/composer/bin/phpunit
fi
- >
if [[ "$DB" == "mysql" ]]; then
mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot
......@@ -50,3 +60,7 @@ script:
if [[ "$UNITTESTS" == "1" ]]; then
php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml
fi
- >
if [[ "$FUNCTIONALTESTS" == "1" ]]; then
./typo3conf/ext/phpunit/Composer/vendor/bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml
fi
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment