Merge origin/ci into ci

This commit is contained in:
paolo
2016-05-20 11:05:12 +02:00
6 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ documents/
.settings
.project
.buildpath
application/config/development/
tests/codeception/codeception.yml
tests/codeception/tests/api.suite.yml
tests/codeception/tests/functional.suite.yml
@@ -19,4 +20,4 @@ tests/codeception/_output/*
/submodules/d3
composer.lock
bin
/tests/codeception/api.suite.yml
/tests/codeception/api.suite.yml
+1 -1
View File
@@ -17,7 +17,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| environments.
|
*/
$config['base_url'] = 'http://localhost/fhcomplete/';
$config['base_url'] = 'http://phpci.fhcomplete.org/build/fhcomplete/';
/*
|--------------------------------------------------------------------------
+2
View File
@@ -53,6 +53,8 @@ echo "Database ..."
#sudo -u postgres psql template1 -c 'DROP DATABASE IF EXISTS fhctest;'
#echo "Database fhctest dropped!"
sudo -u postgres createdb -O fhcomplete fhctest
sudo -u postgres psql fhctest -c 'CREATE SCHEMA IF NOT EXISTS system;'
sudo -u postgres psql fhctest -c 'ALTER SCHEMA system OWNER TO fhcomplete;'
echo "Installing FH-Complete..."
# cp index.ci.php index.php # Maybe somtimes
+2 -2
View File
@@ -22,8 +22,8 @@ setup:
# - "pkill -f fhctest &"
# - "sudo -u postgres psql fhctest -c 'DROP DATABASE IF EXISTS fhctest;'"
- "cd %BUILD_PATH% && chmod u+x install.sh && ./install.sh fhctest" # Install Database
- "rm -f /var/www/html/build" # SymLink löschen falls vorhanden
- "ln -s %BUILD_PATH% /var/www/html/build" # SymLink to the actual build
- "rm -f /var/www/html/build/fhcomplete" # SymLink löschen falls vorhanden
- "ln -s %BUILD_PATH% /var/www/html/build/fhcomplete" # SymLink to the actual build
# - "php index.ci.php DBTools migrate" # DB-Migration
test:
@@ -12,7 +12,7 @@ modules:
- Db
config:
PhpBrowser:
url: 'http://admin:1q2w3@localhost/build/'
url: 'http://admin:1q2w3@localhost/build/fhcomplete/'
Db:
dsn: 'pgsql:host=localhost;port=5432;dbname=fhctest'
user: 'fhcomplete'
+1 -1
View File
@@ -5,7 +5,7 @@ modules:
- Db
- REST:
# API URL
url: http://localhost/build/index.ci.php/api/
url: http://localhost/build/fhcomplete/index.ci.php/api/
# Can also be a framework module name
depends: PhpBrowser
# Limits PhpBrowser to JSON or XML