Cache composer
This commit is contained in:
parent
2401b1083c
commit
55bfee22e8
|
@ -1,5 +1,9 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
|
@ -21,7 +25,8 @@ before_script:
|
||||||
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
|
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
|
||||||
- composer install --dev --prefer-source
|
- composer install --dev --prefer-source
|
||||||
|
|
||||||
script: vendor/bin/phpunit --coverage-clover=coverage.clover
|
script:
|
||||||
|
- vendor/bin/phpunit --coverage-clover=coverage.clover
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
|
|
Loading…
Reference in a new issue