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

View file

@ -50,6 +50,11 @@ composer require --no-update \
"picocms/pico-deprecated $DEPENDENCY_VERSION" "picocms/pico-deprecated $DEPENDENCY_VERSION"
echo 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 # set minimum stability
if [ "$VERSION_STABILITY" != "stable" ]; then if [ "$VERSION_STABILITY" != "stable" ]; then
echo "Setting minimum stability to '$VERSION_STABILITY'..." echo "Setting minimum stability to '$VERSION_STABILITY'..."