Created
January 29, 2016 07:56
-
-
Save Bouhnosaure/68e9c48717137dd0c3d4 to your computer and use it in GitHub Desktop.
This file contains 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: | |
mysql: | |
host: 'localhost' | |
user: '-----' | |
pass: '-----' | |
setup: | |
mysql: | |
- "DROP DATABASE IF EXISTS -----;" | |
- "CREATE DATABASE -----;" | |
shell: | |
- "cd %BUILD_PATH% && cp resources/phpci/.env.testing .env.testing" | |
- "cd %BUILD_PATH% && cp .env.testing .env" | |
- "cd %BUILD_PATH% && cp resources/phpci/codeception.yml codeception.yml" | |
- "cd %BUILD_PATH% && cp resources/phpci/acceptance.suite.yml tests/acceptance.suite.yml" | |
- "cd %BUILD_PATH% && cp resources/phpci/functional.suite.yml tests/functional.suite.yml" | |
- "cd %BUILD_PATH% && curl -sS https://getcomposer.org/installer | php" | |
- "cd %BUILD_PATH% && php composer.phar install --prefer-dist --no-interaction --dev" | |
- "cd %BUILD_PATH% && php artisan migrate --seed --database=----- --env=testing --no-interaction -vvv" | |
test: | |
php_parallel_lint: | |
directory: "app" | |
ignore: | |
- "vendor" | |
- "test" | |
codeception: | |
config: "codeception.yml" | |
path: "tests/_log" | |
complete: | |
mysql: | |
- "DROP DATABASE -------;" | |
success: | |
slack_notify: | |
webhook_url: "https://hooks.slack.com/services/-----/-----/-----" | |
room: "#-----" | |
username: "phpci" | |
icon: ":ghost:" | |
message: "%PROJECT_TITLE% - build %BUILD% succeeded! :smiley:" | |
show_status: false | |
failure: | |
slack_notify: | |
webhook_url: "https://hooks.slack.com/services/-----/-----/-----" | |
room: "#-----" | |
username: "phpci" | |
icon: ":ghost:" | |
message: "%PROJECT_TITLE% - build %BUILD% failed! :angry:" | |
show_status: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment