[BUGFIX] FileLogWriter ignores log file configuration
[Packages/TYPO3.CMS.git] / .travis.yml
1 language: php
2 php:
3 - 5.3
4 - 5.4
5
6 env:
7 - DB=mysql
8
9 services:
10 - memcached
11
12 before_script:
13 # Install build dependencies
14 - git clone git://github.com/typo3-ci/TYPO3-Travis-Integration.git build-environment
15 - source build-environment/install-helper.sh
16 - installPhpModule igbinary
17 - installPhpModule -y memcache
18 - installPhpModule redis
19 - if [[ "$TRAVIS_PHP_VERSION" == "5.3" ]]; then installPhpModule -y apc; fi
20
21 # Install rudimentary TYPO3
22 - git clone git://git.typo3.org/TYPO3v4/Distributions/Introduction.git build-environment/Introduction
23 - mv build-environment/typo3conf .
24 - git clone git://git.typo3.org/TYPO3v4/Extensions/phpunit.git typo3conf/ext/phpunit/
25 - mkdir fileadmin
26 - mkdir uploads
27 - if [[ "$DB" == "mysql" ]]; then mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot; fi
28 - if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS typo3_test;" -uroot; fi
29 - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/Introduction/typo3conf/ext/introduction/Resources/Private/Subpackages/Introduction/Database/introduction.sql; fi
30 - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cache_tables.sql; fi
31 - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql; fi
32 - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/phpunit.sql; fi
33
34 script:
35 - phpLint all
36 - php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml