[TASK] Log warning on invalid charset
[Packages/TYPO3.CMS.git] / .travis.yml
1 language: php
2
3 matrix:
4   fast_finish: true
5
6   include:
7     - php: 7
8       env: UNIT_TESTS=yes
9
10 sudo: false
11
12 addons:
13   apt:
14     packages:
15       - language-pack-de
16
17 cache:
18   directories:
19     - $HOME/.composer/cache
20
21 services:
22   - memcached
23   - redis-server
24
25 notifications:
26   irc:
27     channels:
28       - "irc.freenode.net#typo3-cms"
29     on_success: change
30     on_failure: always
31     use_notice: true
32   slack:
33     rooms:
34       secure: nHWVTPyG3CQWIcYA1LASS11dD0/NBcmrAyr3xxQW0XYtH47ZUKRlEtxrVLuL7ptciNwMbfZgsiRQ1QGWDerHUlBkg0iwRxpUZgeylzWaiXsHFVAp2IBfEX54KrWeYm9gewIBDDtnp+sLgpXGgmpIs2bAGkZe5129UsUExoWh0+g=
35     on_success: change
36     on_failure: always
37   webhooks:
38     urls:
39       - http://www.t3bot.de/hooks/travis/index.php
40     on_success: always
41     on_failure: always
42     on_start: never
43
44 before_script:
45   - phpenv config-rm xdebug.ini
46   - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
47   - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
48   - COMPOSER_ROOT_VERSION=8.7.0 composer install
49
50 script:
51   - >
52     if [[ "$UNIT_TESTS" == "yes" ]]; then
53       ./bin/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml
54     fi