Created
October 18, 2015 01:26
-
-
Save mrprompt/df67b1dd3c6ff868f465 to your computer and use it in GitHub Desktop.
PHPCI Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_settings: | |
clone_depth: 1 | |
verbose: false | |
ignore: | |
- "migrations" | |
- "public" | |
- "resources" | |
- "tmp" | |
- "tests" | |
- "vendor" | |
setup: | |
shell: | |
- "cd %BUILD_PATH% && cp config/config.yml.dist config/config.yml" | |
composer: | |
action: "install" | |
prefer_dist: true | |
test: | |
lint: | |
directories: | |
- "src/" | |
- "tests/" | |
- "migrations/" | |
php_code_sniffer: | |
standard: "PSR2" | |
allowed_errors: -1 | |
allowed_warnings: -1 | |
ignore: | |
- "migrations" | |
- "public" | |
- "tests" | |
- "vendor" | |
- "bootstrap.php" | |
- "cli-config.php" | |
- "deploy.php" | |
- "phpunit-bootstrap.php" | |
- "phpunit-shutdown.php" | |
php_docblock_checker: | |
path: "src" | |
php_loc: | |
directory: "src" | |
php_unit: | |
complete: | |
clean_build: | |
remove: | |
- vendor | |
success: | |
shell: | |
- "cd %BUILD_PATH% && ./bin/deployer.phar deploy production" | |
- "cd %BUILD_PATH% && ./bin/deployer.phar deploy development" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment