Fix copy-resource issue
[multicloud/framework.git] / multivimbroker / sonar.sh
index e173d1f..2291f14 100755 (executable)
@@ -51,12 +51,12 @@ 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.6
     source ./venv-tox/bin/activate
     pip install --upgrade pip
     pip install --upgrade tox argparse
     pip freeze
-    cd multivimbroker
+    cd ${CURDIR}
     tox -e cover
     deactivate
     cd ..