summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-05-18 20:12:28 +0200
committerFerenc Kovacs <tyrael@php.net>2014-12-04 00:07:32 +0100
commit43c36bdb737e586abea7ce1a2919ba883ae3faf4 (patch)
tree2cc5c465d953edd53039da508309397b7035cd72 /run-tests.php
parent13aaba40cd1737157117591f5e28b5352ed1931d (diff)
downloadphp-git-43c36bdb737e586abea7ce1a2919ba883ae3faf4.tar.gz
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
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()
{