Update travis testing

This commit is contained in:
VirtuBox
2019-10-08 02:36:14 +02:00
parent e3f38bb864
commit d2f1eb651b
2 changed files with 16 additions and 2 deletions

14
install
View File

@@ -462,6 +462,16 @@ wo_install() {
}
# WordOps install
wo_travis_install() {
python3 -m pip install pip --upgrade
python3 -m pip install dist/*.whl --upgrade
cp -rf /usr/local/lib/python3.*/dist-packages/etc/* /etc/
cp -rf /usr/local/lib/python3.*/dist-packages/usr/* /usr/
}
wo_upgrade_nginx() {
if [ -d /var/lib/wo-backup/nginx ]; then
@@ -773,8 +783,10 @@ else
if [ -z "$wo_travis" ]; then
_run wo_dist_upgrade
wo_git_config
_run wo_install "Installing WordOps"
else
_run wo_travis_install "Installing WordOps"
fi
_run wo_install "Installing WordOps"
if [ -x /usr/local/bin/ee ]; then
_run wo_upgrade_nginx "Upgrading Nginx"
_run wo_clean_ee "Cleaning previous EasyEngine install"