[TASK] Remove db setup from .travis.yml 45/28645/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 22 Mar 2014 18:29:42 +0000 (19:29 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 22 Mar 2014 18:48:07 +0000 (19:48 +0100)
With proper mocking in place we no longer need an
initialized database to run unit tests.

Change-Id: I3913186540bbd1b1419c37132cddaaa34ea9ca34
Related: #51436
Releases: 6.2
Reviewed-on: https://review.typo3.org/28645
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
.travis.yml

index 3c999e6..5b32624 100644 (file)
@@ -28,13 +28,6 @@ before_script:
   - mkdir fileadmin uploads typo3temp
   - mv build-environment/typo3conf .
   - git clone --single-branch --branch master --depth 1 git://git.typo3.org/TYPO3CMS/Extensions/phpunit.git typo3conf/ext/phpunit/
-  - >
-    if [[ "$DB" == "mysql" ]]; then
-       mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot
-       mysql -e "CREATE DATABASE IF NOT EXISTS typo3_test;" -uroot
-       php build-environment/dbimport/DatabaseImport.php
-       mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql
-    fi
 
 script:
   - printf "UnitTests\nFunctionalTests\nLint" | parallel --gnu --keep-order 'echo "Running {}"; ./build-environment/execute{}.sh'