Update travis

This commit is contained in:
VirtuBox
2019-08-31 04:24:49 +02:00
parent a3c5f45311
commit 1d9c736fa6

View File

@@ -19,16 +19,27 @@ if ! {
echo -e "${CGREEN}#############################################${CEND}" echo -e "${CGREEN}#############################################${CEND}"
echo -e ' stack install ' echo -e ' stack install '
echo -e "${CGREEN}#############################################${CEND}" echo -e "${CGREEN}#############################################${CEND}"
wo --help && wo stack install && wo stack install --proftpd echo -ne " Installing stacks [..]\r"
if {
wo stack install --all
}; then
echo -ne " Installing stacks [${CGREEN}OK${CEND}]\\r"
echo -ne '\n'
else
echo -e " Installing stacks [${CRED}FAIL${CEND}]"
echo -ne '\n'
exit_script
fi
}; then }; then
exit_script exit_script
fi fi
echo -e "${CGREEN}#############################################${CEND}" echo -e "${CGREEN}#############################################${CEND}"
echo -e ' Simple site create ' echo -e ' Simple site create '
echo -e "${CGREEN}#############################################${CEND}" echo -e "${CGREEN}#############################################${CEND}"
site_types='html php mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir' site_types='html php mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $site_types; do for site in $site_types; do
echo -ne " Installing $site [..]\r" echo -ne " Installing $site [..]\r"
if { if {
wo site create ${site}.net --${site} wo site create ${site}.net --${site}
@@ -41,9 +52,9 @@ fi
exit_script exit_script
fi fi
done done
other_site_types='html mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir' other_site_types='html mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $other_site_types; do for site in $other_site_types; do
echo -ne " Installing $site php73 [..]\r" echo -ne " Installing $site php73 [..]\r"
if { if {
wo site create ${site}.com --${site} --php73 wo site create ${site}.com --${site} --php73
@@ -56,7 +67,7 @@ fi
exit_script exit_script
fi fi
done done
if ! { if ! {
echo -e "${CGREEN}#############################################${CEND}" echo -e "${CGREEN}#############################################${CEND}"