disable sending of emails when running tests completely when run on travis

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-11-27 12:05:56 +01:00
parent a86f10a4b4
commit 9756c792d7
6 changed files with 63 additions and 54 deletions

View File

@@ -4,10 +4,12 @@ if (file_exists('/etc/froxlor-test.pwd') && file_exists('/etc/froxlor-test.rpwd'
// froxlor jenkins test-system
$pwd = trim(file_get_contents('/etc/froxlor-test.pwd'));
$rpwd = trim(file_get_contents('/etc/froxlor-test.rpwd'));
define('TRAVIS_CI', 0);
} else {
// travis-ci.org
$pwd = 'fr0xl0r.TravisCI';
$rpwd = 'fr0xl0r.TravisCI';
define('TRAVIS_CI', 1);
}
$userdata_content = "<?php