Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Travis: before_script set crypto through installer
  • Loading branch information
dregad committed Oct 21, 2013
1 parent 11084b0 commit 69852bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/travis_before_script.sh
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69852bf

Please sign in to comment.