summaryrefslogtreecommitdiffstats
path: root/sonar.sh
diff options
context:
space:
mode:
authorEthan Lynn <xuanlangjian@gmail.com>2019-09-06 13:42:16 +0800
committerEthan Lynn <xuanlangjian@gmail.com>2019-09-06 16:46:26 +0800
commitf8eb83d7f0f406d79aede856b92fbc5a0461d1c3 (patch)
tree67dee8d66f4d246fcd5b43f00d03b700dfd263e0 /sonar.sh
parent32982a84a29b62716f9d5d93a209c0db9f086467 (diff)
Drop python 2 support
Use python3 as default python version Change-Id: I82c95b7ae21ef0bc2a4bdca2536e35affbc5c9f5 Issue-ID: MULTICLOUD-706 Signed-off-by: Ethan Lynn <xuanlangjian@gmail.com>
Diffstat (limited to 'sonar.sh')
-rwxr-xr-xsonar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar.sh b/sonar.sh
index 91f09f0..384a431 100755
--- a/sonar.sh
+++ b/sonar.sh
@@ -53,7 +53,7 @@ run_tox_test()
DIR=$(echo "$TOXINI" | rev | cut -f2- -d'/' | rev)
cd "${CURDIR}/${DIR}"
rm -rf ./venv-tox ./.tox
- virtualenv ./venv-tox
+ virtualenv ./venv-tox --python=python3
source ./venv-tox/bin/activate
pip install --upgrade pip
pip install --upgrade tox argparse