Skip to content

Instantly share code, notes, and snippets.

@haswalt
Created October 24, 2015 10:49
Show Gist options
  • Save haswalt/0d02a16a5cd79b97eeaa to your computer and use it in GitHub Desktop.
Save haswalt/0d02a16a5cd79b97eeaa to your computer and use it in GitHub Desktop.
Compose circle
# circle.yml
machine:
services:
- docker
dependencies:
override:
- sudo pip install --upgrade docker-compose==1.3.0
- ./compose-development build
test:
pre:
- ./compose-development up -d
- ./compose-development run api /composer_install
- ./compose-development run api php artisan doctrine:migrations:migrate -n
override:
- ./compose-development run api phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment