mirror of
https://github.com/php/php-src.git
synced 2024-12-26 02:10:46 +08:00
f464ffd780
Travis will always build all branches. As we just have a .travis.yml on master, travis will go ahead and checkout PHP-5.3. It fails and then sends mails. We really don't want to get spammed, so we add a .travis.yml that is just silent.
25 lines
564 B
YAML
25 lines
564 B
YAML
language: php
|
|
|
|
php:
|
|
# We only specify one version so we only get one worker
|
|
- 5.4
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
env:
|
|
- REPORT_EXIT_STATUS=1 TEST_PHP_EXECUTABLE=./sapi/cli/php
|
|
|
|
before_script:
|
|
# Compile PHP
|
|
- ./travis/compile.sh
|
|
# Setup Extensions
|
|
- . ./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
|
|
|
|
# Run PHPs run-tests.php
|
|
script: ./sapi/cli/php run-tests.php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP"
|