From 43c36bdb737e586abea7ce1a2919ba883ae3faf4 Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Sun, 18 May 2014 20:12:28 +0200 Subject: use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/) --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run-tests.php') 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() { -- cgit v1.2.1