Travis CI: Force Composer minimum stability <= beta

Unfortunately we must force Composer minimum stability <= beta due to Parsedown 1.8 currently being in beta. Composer AFAIK can't decide this on a per-dependency basis...
This commit is contained in:
Daniel Rudolf 2019-11-25 00:43:53 +01:00
parent a5ff37e380
commit 636e8d2a8a
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ composer require --no-update \
"picocms/pico-deprecated $DEPENDENCY_VERSION"
echo
# force minimum stability <= beta due to Parsedown 1.8 currently being in beta
if [ "$VERSION_STABILITY" == "stable" ] || [ "$VERSION_STABILITY" == "rc" ]; then
VERSION_STABILITY="beta"
fi
# set minimum stability
if [ "$VERSION_STABILITY" != "stable" ]; then
echo "Setting minimum stability to '$VERSION_STABILITY'..."