[TASK] Change travis configuration to build PHP modules
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 30 Jun 2012 20:37:34 +0000 (22:37 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sat, 30 Jun 2012 20:42:00 +0000 (22:42 +0200)
Many of the unit tests are skipped because dependencies
to certain PHP modules are not matched.

Add a script that sets up certain dependencies like
igbinary or memcached to lower the number of skipped tests.

Change-Id: I432809066f65ea5c1be33c478cecae49057b2a36
Releases: 6.0
Reviewed-on: http://review.typo3.org/12485
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
.travis.yml

index abea8d0..ad34ea3 100644 (file)
@@ -11,7 +11,6 @@ branches:
 
 before_script:
 # TODO hh 2012-04-16 Move the build environment to a more official place
-  - git submodule update --init --recursive
   - git clone git://github.com/typo3-ci/TYPO3-Travis-Integration.git build-environment
   - git clone git://git.typo3.org/TYPO3v4/Distributions/Introduction.git build-environment/Introduction
   - mv build-environment/typo3conf .
@@ -21,5 +20,6 @@ before_script:
   - if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS typo3_test;" -uroot; fi
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/Introduction/typo3conf/ext/introduction/Resources/Private/Subpackages/Introduction/Database/introduction.sql; fi
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql; fi
+  - /bin/bash build-environment/install-php-extensions.sh > /dev/null 2>&1
 
 script: php $PWD/typo3/cli_dispatch.phpsh phpunit $PWD/tests/