Skip to content

Commit ac975ff

Browse files
committed
Merge pull request #281 from symfony-cmf/change_caching
Cache the deps instead of the vendor directory
2 parents f21ed13 + e57e0f4 commit ac975ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo: false
44

55
cache:
66
directories:
7-
- vendor
7+
- $HOME/.composer/cache
88

99
php:
1010
- 5.3
@@ -29,7 +29,7 @@ before_script:
2929
- composer self-update
3030
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;'
3131
- sh -c 'if [ "$SYMFONY_VERSION" != "no" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi;'
32-
- composer update --prefer-source
32+
- composer update --prefer-dist
3333
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
3434

3535
script: phpunit --coverage-text

0 commit comments

Comments
 (0)