This commit is contained in:
Paminger
2016-03-20 12:53:17 +01:00
parent 0c3c47f848
commit 9689fd5a01
137 changed files with 8480 additions and 405 deletions
+61 -9
View File
@@ -1,22 +1,74 @@
build_settings:
verbose: false
prefer_symlink: false
ignore:
- "vendor"
- "tests"
- "frontend"
- "designs"
pgsql:
host: 'localhost;dbname=template1'
user: 'fhcomplete'
pass: 'fhcomplete'
setup:
composer:
directory: ""
action: "install"
pgsql:
- "DROP DATABASE IF EXISTS fhctest;"
shell:
- "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
- "php index.ci.php Migrate" # DB-Migration
test:
codeception:
config: "tests"
lint:
directories:
- "application/"
recursive: true
php_loc:
php_docblock_checker:
allowed_warnings: -1
# phing:
# build_file: 'build.xml'
# targets:
# - "deploy"
path: "application/controllers/"
allowed_warnings: 100
skip_classes: false
php_code_sniffer:
path: "application/controllers"
# ignore:
# - "backend/application/views"
standard: "tests/codesniffer/FHComplete"
allowed_errors: 100
allowed_warnings: 200
codeception:
config: "tests"
# php_unit:
# directory: "tests/phpunit/"
# args: "--bootstrap 'test/phpunit/bootstrap.php' --configuration 'tests/phpunit/phpunit.xml'"
complete:
xmpp:
username: "fhcomplete"
password: "fhcomplete1q2w3blah.im"
recipients:
- "fhcomplete@darkness.su"
- "nk@jabber.at"
- "tschux@jabber.org"
- "lexdesign@blah.im"
- "tschux@jabber.at"
server: "jabber.blah.im"
tls: 1
alias: "jabber.blah.im"
date_format: "%d.%m.%Y"
clean_build:
remove:
- index.php
- config/global.config.inc.php
- config/cis.config.inc.php
- config/vilesci.config.inc.php
- config/system.config.inc.php
success:
# shell:
# - "cd %BUILD_PATH% && chmod u+x copyBuild.sh && ./copyBuild.sh" # Copy Build
# - "curl 'http://localhost/backend/Migrate/'" # DB-Installation
# - "cd /var/www/html/ && sudo -u wsp doxygen Doxyfile" # Doxygen