Update travis testing
This commit is contained in:
14
install
14
install
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user