View Issue Details

IDProjectCategoryView StatusLast Update
0001482XdebugInstallationpublic2017-12-02 16:19
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version2.6.0alpha1 
Summary0001482: Change Travis configuration so that it does not run tests even if the compile fails
Description

Figure out why Travis continues running tests even if the compile fails

https://travis-ci.org/xdebug/xdebug/jobs/289544780

TagsNo tags attached.
Operating System
PHP Version7.1.0-7.1.4

Activities

remi

2017-10-18 16:08

reporter   ~0004444

Last edited: 2017-10-18 16:09

Not directly related to this, but in RPM build we use

SKIP_SLOW_TESTS=1 \
TEST_PHP_EXECUTABLE=$(which php) \
TEST_PHP_ARGS="-n -d zend_extension=$PWD/modules/xdebug.so -d xdebug.auto_trace=0" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
php -n run-tests.php --show-diff

Main benefits:

  • no php.ini, only rely on
    • buitin defaults
    • specified CLI options
  • no risk to use the system installed module

And this now works, thanks to https://github.com/xdebug/xdebug/commit/db46ff6bc2b3401ac7f4c90b699b005ad678db44