Skip to content

Commit c501cc4

Browse files
jrfnlgrogy
authored andcommitted
Travis: improve caching between builds
Unless there is a specific reason to use `--prefer-source`, always use `--prefer-dist` (default) for the `composer install` command to allow Travis to optimally use the caching feature.
1 parent e0d9ff8 commit c501cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cache:
2424
- $HOME/.composer/cache
2525

2626
before_script:
27-
- composer install --no-interaction --prefer-source
27+
- composer install --no-interaction
2828

2929
script:
3030
- ant

0 commit comments

Comments
 (0)