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 ' stack install '
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
exit_script
fi
echo -e "${CGREEN}#############################################${CEND}"
echo -e ' Simple site create '
echo -e "${CGREEN}#############################################${CEND}"
site_types='html php mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $site_types; do
echo -e "${CGREEN}#############################################${CEND}"
echo -e ' Simple site create '
echo -e "${CGREEN}#############################################${CEND}"
site_types='html php mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $site_types; do
echo -ne " Installing $site [..]\r"
if {
wo site create ${site}.net --${site}
@@ -41,9 +52,9 @@ fi
exit_script
fi
done
other_site_types='html mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $other_site_types; do
done
other_site_types='html mysql wp wpfc wpsc wpredis wpce wprocket wpsubdomain wpsubdir'
for site in $other_site_types; do
echo -ne " Installing $site php73 [..]\r"
if {
wo site create ${site}.com --${site} --php73
@@ -56,7 +67,7 @@ fi
exit_script
fi
done
done
if ! {
echo -e "${CGREEN}#############################################${CEND}"