Created
June 6, 2016 15:16
-
-
Save khoa-le/354098bbb4be7f8de329298f68e149b6 to your computer and use it in GitHub Desktop.
Circle CI config with symfony and capifony
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
machine: | |
php: | |
version: 7.0.0RC7 | |
ruby: | |
version: 2.0.0-p481 | |
dependencies: | |
override: | |
- composer install --prefer-source --no-interaction --no-scripts | |
- cp app/config/parameters_test.circle.yml app/config/parameters_test.yml | |
- app/console doctrine:database:drop --env=test --no-interaction --force | |
- app/console doctrine:database:create --env=test --no-interaction | |
- app/console doctrine:schema:update --env=test --no-interaction --force | |
- app/console doctrine:fixtures:load --env=test --no-interaction | |
- php app/console asset:install --env=test --no-interaction | |
- php app/console assetic:dump --env=test --no-interaction | |
post: | |
- rvm use 2.0.0-p481 do gem install psych | |
- gem install capifony | |
test: | |
override: | |
- SYMFONY_DEPRECATIONS_HELPER="weak" phpunit -c app/ | |
deployment: | |
production: | |
branch: master | |
commands: | |
- cap -S revision=$CIRCLE_SHA1 deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment