From abbeb27e93ffdcbc3cb9caef9b809adfae8acd79 Mon Sep 17 00:00:00 2001 From: bison-paolo Date: Tue, 29 Nov 2016 16:13:21 +0100 Subject: [PATCH] phpci --- phpci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpci.yml b/phpci.yml index 47454ff3e..04d408697 100644 --- a/phpci.yml +++ b/phpci.yml @@ -20,9 +20,8 @@ setup: - "DROP DATABASE IF EXISTS fhctest;" # Drops database - "CREATE DATABASE fhctest OWNER fhcomplete;" # Creates database shell: - - "mkdir -p /var/www/html/build" # Create the build directory if it doesn't exist - - "rm -f /var/www/html/build/build" # Remove the previous soft link, if exists, to the build directory - - "ln -s %BUILD_PATH% /var/www/html/build/build" # Create a new soft link to the actual build directory + - "rm -f /var/www/html/build" # Remove the previous soft link, if exists, to the build directory + - "ln -s %BUILD_PATH% /var/www/html/build" # Create a new soft link to the actual build directory # Rename configuration files - "cd %BUILD_PATH% && cp ./config/global.config-default.inc.php ./config/global.config.inc.php" - "cd %BUILD_PATH% && cp ./config/cis.config-default.inc.php ./config/cis.config.inc.php" @@ -55,4 +54,4 @@ complete: - "SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE pid <> pg_backend_pid() AND datname = 'fhctest';" # Close previous connections to database - "DROP DATABASE IF EXISTS fhctest;" # Drops database shell: - - "rm -f /var/www/html/build/build" # Remove the previous soft link, if exists, to the build directory \ No newline at end of file + - "rm -f /var/www/html/build" # Remove the previous soft link, if exists, to the build directory \ No newline at end of file