com php-src: use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/): run-tests.php
| From: | Ferenc Kovacs | Date: | Wed, 03 Dec 2014 23:07:32 +0000 |
| Subject: | com php-src: use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/): run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83504@lists.php.net to get a copy of this message | ||
Commit: 43c36bdb737e586abea7ce1a2919ba883ae3faf4
Author: Ferenc Kovacs <tyrael@php.net> Sun, 18 May 2014 20:12:28 +0200
Parents: 13aaba40cd1737157117591f5e28b5352ed1931d
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=43c36bdb737e586abea7ce1a2919ba883ae3faf4
Log:
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 9319631..60288e2 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()
{