diff --git a/scripts/travis_before_script.sh b/scripts/travis_before_script.sh index 098f9a4c3a..32ead4fd7e 100755 --- a/scripts/travis_before_script.sh +++ b/scripts/travis_before_script.sh @@ -83,6 +83,7 @@ declare -A query=( [db_password]=$DB_PASSWORD [admin_username]=$DB_USER [admin_password]=$DB_PASSWORD + [crypto_master_salt]=$(head -c 18 /dev/urandom | base64 | tr '+/' '-_') ) # Build http query string @@ -96,8 +97,6 @@ done # trigger installation curl --data "${query_string:1}" http://localhost/admin/install.php -echo " \$g_crypto_master_salt='1234567890abcdef'; " | sudo tee -a config_inc.php - # create the first project $DB_CMD "$SQL_CREATE_PROJECT" $DB_CMD_SCHEMA