From 59f903bcecd844725e3b4d93ce5088be32cb1cb1 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 27 Sep 2019 14:19:35 +0200 Subject: [PATCH] Update travis.sh --- tests/travis.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/travis.sh b/tests/travis.sh index 882ebe9..6a0b7a1 100644 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -9,9 +9,11 @@ CRED="${CSI}1;31m" CGREEN="${CSI}1;32m" CEND="${CSI}0m" -apt-get -qq purge mysql* graphviz* redis* -apt-get install -qq git python3-setuptools python3-dev python3-apt ccze tree -sudo apt-get -qq autoremove --purge +if [ -z "$1" ]; then + apt-get -qq purge mysql* graphviz* redis* + apt-get install -qq git python3-setuptools python3-dev python3-apt ccze tree + sudo apt-get -qq autoremove --purge +fi exit_script() { curl --progress-bar --upload-file /var/log/wo/wordops.log https://transfer.vtbox.net/"$(basename wordops.log)" && echo ""