hyperf/.travis/requirement.install.sh
2022-01-17 15:22:27 +08:00

11 lines
162 B
Bash
Executable File

#!/usr/bin/env sh
SW_VER=$(php -r "echo SWOOLE_VERSION_ID;")
if [ $SW_VER -lt 50000 ]; then
composer require hyperf/engine:1.2.x-dev
fi
composer update -oW