Closed imjoehaines closed 4 years ago
From my perspective it would seem to make sense to script a lot of this out of the config file, however if this feels more maintainable by you @imjoehaines then I'm happy to approve.
I generally don't like putting CI specific things outside of the CI config file so it's easier to see what it's actually doing, but looking at this again today it's a bit of a mess!
I'll put it in a script :)
Happy to let @Cawllec lead on the approval of this, don't wait for mine.
Goal
This PR adds a job to Travis which will fetch the latest published version of Symfony rather than a pre-defined version, including pre-release versions. For example, right now the latest version is
v5.1.0-RC1
. This is done using dvershinin/lastversionWe can now run
master
andnext
daily in order to alert us if an upcoming release will break this notifierThere are also a couple of changes in travis.yml that aren't totally related — we now cache Composer dependencies between runs to speed up builds, we run Symfony 4 on PHP 7.4 (a typo meant we didn't do this before) and I've added a
composer show
step to print the exact version we're testing: