From: Ferenc Kovacs Date: Sun, 18 May 2014 18:12:28 +0000 (+0200) Subject: use the generic TRAVIS environment var to check for travis (see http://docs.travis... X-Git-Tag: PRE_NATIVE_TLS_MERGE~67^2^2^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43c36bdb737e586abea7ce1a2919ba883ae3faf4;p=php use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/) --- diff --git a/run-tests.php b/run-tests.php index 9319631bb6..60288e2d79 100755 --- a/run-tests.php +++ b/run-tests.php @@ -314,7 +314,7 @@ VALGRIND : " . ($leak_check ? $valgrind_header : 'Not used') . " define('PHP_QA_EMAIL', 'qa-reports@lists.php.net'); define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php'); define('QA_REPORTS_PAGE', 'http://qa.php.net/reports'); -define('TRAVIS_CI' , (bool) getenv('TRAVIS_PHP_VERSION')); +define('TRAVIS_CI' , (bool) getenv('TRAVIS')); function save_or_mail_results() {