From 4f2cd2a295393831a76d465e3af61b7cc9f8381c Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 12 Oct 2020 19:27:23 +0200 Subject: [PATCH] Travis related testing --- install | 16 +++++++++++++++- setup.py | 2 +- tests/travis.sh | 4 +++- wo/core/variables.py | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/install b/install index 44722f6..0f15468 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.12.2 - 2020-05-14 +# Version 3.12.3 - 2020-10-12 # ------------------------------------------------------------------------- # CONTENTS @@ -701,6 +701,20 @@ wo_init() { } +wo_php_fix() { + local php_versions="5.6 7.0 7.1 7.2 7.3 7.4" + + apt-get autoremove --assume-yes --purge php8.0-* php-igbinary php-memcached php-msgpack php-redis php-imagick php-xdebug + for php_version in $php_versions; do + if [ -f "/usr/sbin/php-fpm$php_version" ]; then + local php_extensions="igbinary memcached msgpack redis imagick xdebug" + for php_ext in $php_extensions; do + apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install "php$php_version-$php_ext" + done + fi + done +} + ### # 4 - WO MAIN SETUP ### diff --git a/setup.py b/setup.py index 9a12f35..090bd92 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ if os.geteuid() == 0: os.makedirs('/var/lib/wo/tmp/') setup(name='wordops', - version='3.12.2', + version='3.12.3', description='An essential toolset that eases server administration', long_description=LONG, long_description_content_type='text/markdown', diff --git a/tests/travis.sh b/tests/travis.sh index 8ac410b..ea48ee5 100644 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -73,7 +73,9 @@ echo wo site info php72.net echo echo - +wo site list +echo +echo echo -e "${CGREEN}#############################################${CEND}" echo -e ' wo site update --php74 ' echo -e "${CGREEN}#############################################${CEND}" diff --git a/wo/core/variables.py b/wo/core/variables.py index 64def89..5661f29 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -14,7 +14,7 @@ class WOVar(): """Intialization of core variables""" # WordOps version - wo_version = "3.12.2" + wo_version = "3.12.3" # WordOps packages versions wo_wp_cli = "2.4.0" wo_adminer = "4.7.5"