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