2012-04-26 19:48:49 +08:00
|
|
|
language: php
|
2012-04-27 22:36:33 +08:00
|
|
|
|
2012-04-26 19:48:49 +08:00
|
|
|
php:
|
2012-04-27 22:36:33 +08:00
|
|
|
# We only specify one version so we only get one worker
|
2012-04-26 19:48:49 +08:00
|
|
|
- 5.4
|
2012-04-27 22:36:33 +08:00
|
|
|
|
2012-06-04 01:11:10 +08:00
|
|
|
notifications:
|
2014-05-14 08:14:06 +08:00
|
|
|
email:
|
|
|
|
on_failure: change
|
2012-06-04 01:11:10 +08:00
|
|
|
|
2014-07-08 00:35:37 +08:00
|
|
|
cache:
|
|
|
|
- apt
|
|
|
|
|
2012-04-27 22:36:33 +08:00
|
|
|
env:
|
2013-08-13 13:57:06 +08:00
|
|
|
global:
|
|
|
|
- MYSQL_TEST_HOST=127.0.0.1
|
|
|
|
- MYSQL_TEST_USER=travis
|
2013-08-14 00:01:17 +08:00
|
|
|
- PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
|
2013-08-13 13:57:06 +08:00
|
|
|
- PDO_MYSQL_TEST_USER=travis
|
|
|
|
- PDO_MYSQL_TEST_PASS=
|
2013-08-25 14:14:48 +08:00
|
|
|
- PDO_MYSQL_TEST_HOST=127.0.0.1
|
2013-08-13 13:57:06 +08:00
|
|
|
- REPORT_EXIT_STATUS=1
|
2014-04-27 23:52:59 +08:00
|
|
|
matrix:
|
2014-04-28 14:31:02 +08:00
|
|
|
- ENABLE_MAINTAINER_ZTS=0 ENABLE_DEBUG=0
|
|
|
|
- ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1
|
2012-04-27 22:36:33 +08:00
|
|
|
|
2014-07-08 00:35:37 +08:00
|
|
|
before_install:
|
|
|
|
- sudo cp ./travis/de /var/lib/locales/supported.d/de
|
|
|
|
- sudo dpkg-reconfigure locales
|
|
|
|
|
2012-04-26 19:48:49 +08:00
|
|
|
before_script:
|
2012-04-27 22:36:33 +08:00
|
|
|
# Compile PHP
|
2012-04-26 19:48:49 +08:00
|
|
|
- ./travis/compile.sh
|
2012-04-28 09:27:29 +08:00
|
|
|
# Setup Extensions
|
2012-04-28 11:53:24 +08:00
|
|
|
- . ./travis/ext/mysql/setup.sh
|
|
|
|
- . ./travis/ext/mysqli/setup.sh
|
|
|
|
- . ./travis/ext/pdo_mysql/setup.sh
|
|
|
|
- . ./travis/ext/pgsql/setup.sh
|
|
|
|
- . ./travis/ext/pdo_pgsql/setup.sh
|
2012-04-27 22:36:33 +08:00
|
|
|
|
|
|
|
# Run PHPs run-tests.php
|
2014-05-02 15:49:10 +08:00
|
|
|
script: ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff --set-timeout 120
|