1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Add composer cache to travis config

This commit is contained in:
Korvin Szanto
2016-09-19 19:32:42 -07:00
parent 579e398ea7
commit 79c372bcf9

View File

@@ -15,6 +15,10 @@ sudo: false
before_install:
- travis_retry composer self-update
cache:
directories:
- $HOME/.composer/cache
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi