Newer
Older
## Cache composer packages between all jobs and all branches
## of this project...
cache:
key: one-key-to-rull-them-all
paths:
- composer-cache/
before_script:
# Install git, the php image doesn't have installed
- apt-get update -yqq
- apt-get install git -yqq
# Install composer
- curl -sS https://getcomposer.org/installer | php
# Install PHP-ZIP extension (used by composer)
- apt-get install -yqq libzip-dev
- docker-php-ext-install zip
# Install xdebug extension (used for phpunit code coverage)
- pecl install xdebug
- docker-php-ext-enable xdebug