tims-todo/phpci.yml

32 lines
598 B
YAML
Raw Normal View History

2014-08-08 15:41:59 -04:00
build_settings:
verbose: true
ignore:
- "application/third_party"
- "web"
- "system"
- "third_party"
- "tests"
- "vendor"
- "migrations"
2014-08-08 15:41:59 -04:00
setup:
composer:
action: "install"
2014-08-08 15:41:59 -04:00
env:
APPLICATION_ENV: "development"
shell:
- "cd %BUILD_PATH% && vendor/bin/phinx rollback -e testing -t0"
- "cd %BUILD_PATH% && vendor/bin/phinx migrate -e testing"
2014-08-08 15:41:59 -04:00
test:
php_unit:
config: 'tests/phpunit.xml'
run_from: 'tests'
php_mess_detector:
allowed_warnings: 10
rules:
- "unusedcode"
- "naming"
# php_docblock_checker:
# php_loc: