Skip to content

Commit 13039fd

Browse files
jrfnlgrogy
authored andcommitted
Travis: various tweaks
* `sudo: false` hasn't been supported on Travis for a long time. * 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 a10a2fc commit 13039fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ matrix:
1313
- php: 7.3
1414
- php: 7.4
1515

16-
sudo: false
17-
1816
cache:
1917
directories:
2018
- vendor
2119
- $HOME/.composer/cache
2220

2321
install:
24-
- composer install --no-interaction --prefer-source
22+
- composer install --no-interaction
2523

2624
script:
2725
- ./vendor/bin/parallel-lint --exclude vendor .

0 commit comments

Comments
 (0)