Cache composer

This commit is contained in:
Tim Nagel 2015-03-10 21:54:07 +11:00
parent 2401b1083c
commit 55bfee22e8
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
language: php
cache:
directories:
- $HOME/.composer/cache
php:
- 5.3
- 5.4
@ -21,7 +25,8 @@ before_script:
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
- composer install --dev --prefer-source
script: vendor/bin/phpunit --coverage-clover=coverage.clover
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
services:
- elasticsearch