1dist: precise 2language: c 3sudo: false 4addons: 5 apt: 6 packages: 7 - locales 8 - language-pack-de 9 - re2c 10 - libgmp-dev 11 - libicu-dev 12 - libmcrypt-dev 13 - libtidy-dev 14 - libenchant-dev 15 - libaspell-dev 16 - libpspell-dev 17 - librecode-dev 18 19notifications: 20 email: 21 on_failure: change 22 irc: 23 template: 24 - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} - Change view : %{compare_url} - Build details : %{build_url}" 25 channels: 26 - "irc.efnet.org#php.pecl" 27 on_success: change 28 on_failure: always 29 30cache: 31 - apt 32 33env: 34 global: 35 - MYSQL_TEST_HOST=127.0.0.1 36 - MYSQL_TEST_USER=travis 37 - PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test" 38 - PDO_MYSQL_TEST_USER=travis 39 - PDO_MYSQL_TEST_PASS= 40 - PDO_MYSQL_TEST_HOST=127.0.0.1 41 - REPORT_EXIT_STATUS=1 42 matrix: 43 - ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0 44 - ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1 45 46before_script: 47 # Compile PHP 48 - ./travis/compile.sh 49 # Setup Extensions 50 - . ./travis/ext/mysql/setup.sh 51 - . ./travis/ext/mysqli/setup.sh 52 - . ./travis/ext/pdo_mysql/setup.sh 53 - . ./travis/ext/pgsql/setup.sh 54 - . ./travis/ext/pdo_pgsql/setup.sh 55 56# Run PHPs run-tests.php 57script: 58 - ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --set-timeout 120 59 - ./sapi/cli/php sapi/phpdbg/tests/run-tests.php -diff2stdout --phpdbg sapi/phpdbg/phpdbg 60