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:
parent
a5ff37e380
commit
636e8d2a8a
1 changed files with 5 additions and 0 deletions
|
@ -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'..."
|
||||||
|
|
Loading…
Reference in a new issue