Minor fixes and added travis configuration file

This commit is contained in:
ronivay
2018-07-26 17:52:42 +03:00
parent caf258bc31
commit a912401c27
4 changed files with 19 additions and 1 deletions

View File

@@ -317,6 +317,7 @@ function InstallXO {
else
echo
echo "Looks like there was a problem when starting xo-server/reading journalctl. Please see logs for more details"
exit 1;
fi
} 2>$LOGFILE
@@ -345,6 +346,17 @@ function UpdateXOAutomate {
UpdateNodeYarn
UpdateXO
;;
--run-test)
if [ $OSNAME == "CentOS" ]; then
InstallDependenciesCentOS
InstallXO
exit 0
else
InstallDependenciesDebian
InstallXO
exit 0
fi
;;
*)
StartUpScreen
;;