Elgg  Version 2.3
Variables
travis_installer.php File Reference

Go to the source code of this file.

Variables

 $enabled = getenv('TRAVIS') != ''
 Travis CI CLI installer script. More...
 
if(!$enabled) if (PHP_SAPI!== 'cli')
 
 $installer = new ElggInstaller()
 
 $params
 
 $version = elgg_get_version(true)
 

Variable Documentation

$enabled = getenv('TRAVIS') != ''

Travis CI CLI installer script.

It's designed for core automatic tests only.

private

Definition at line 8 of file travis_installer.php.

$installer = new ElggInstaller()

Definition at line 22 of file travis_installer.php.

$params
Initial value:
= array(
'dbuser' => 'root',
'dbpassword' => 'password',
'dbname' => 'elgg',
'dbprefix' => 't_i_elgg_',
'sitename' => 'Elgg Travis Site',
'siteemail' => 'no_reply@travis.elgg.org',
'wwwroot' => 'http://localhost:8888/',
'dataroot' => getenv('HOME') . '/elgg_data/',
'displayname' => 'Administrator',
'email' => 'admin@travis.elgg.org',
'username' => 'admin',
'password' => 'fancypassword',
'timezone' => 'UTC'
)

Definition at line 25 of file travis_installer.php.

Definition at line 56 of file travis_installer.php.

if (!$enabled) if(PHP_SAPI!== 'cli')

Definition at line 15 of file travis_installer.php.