From 58c0b1b6edbaff8c6da5dcc3d4d325e3e0dc69ba Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 28 Jun 2020 21:54:24 +0200 Subject: [PATCH] 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. --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82764d0..41998e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,15 +13,13 @@ matrix: - php: 7.3 - php: 7.4 -sudo: false - cache: directories: - vendor - $HOME/.composer/cache install: - - composer install --no-interaction --prefer-source + - composer install --no-interaction script: - ./vendor/bin/parallel-lint --exclude vendor .