Skip to content

Commit 43c36bd

Browse files
committed
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
1 parent 13aaba4 commit 43c36bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ function write_information($show_html)
314314
define('PHP_QA_EMAIL', 'qa-reports@lists.php.net');
315315
define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
316316
define('QA_REPORTS_PAGE', 'http://qa.php.net/reports');
317-
define('TRAVIS_CI' , (bool) getenv('TRAVIS_PHP_VERSION'));
317+
define('TRAVIS_CI' , (bool) getenv('TRAVIS'));
318318

319319
function save_or_mail_results()
320320
{

0 commit comments

Comments
 (0)