Change-Id: Ib29201f63fb8bfcc04f879b13407a85bda55827f
Signed-off-by: Jan Gelety <jgelety@cisco.com>
rsync -a --include '*/' --include '*.robot' --exclude '*' ../../../tests/ ${WORKING_DIR}/tests/
# Create virtual environment:
rsync -a --include '*/' --include '*.robot' --exclude '*' ../../../tests/ ${WORKING_DIR}/tests/
# Create virtual environment:
-virtualenv ${WORKING_DIR}/env
+virtualenv --python=$(which python3) ${WORKING_DIR}/env
. ${WORKING_DIR}/env/bin/activate
# Install CSIT requirements:
. ${WORKING_DIR}/env/bin/activate
# Install CSIT requirements:
-pip install -r ../../../requirements.txt
+pip3 install --upgrade -r ../../../requirements.txt
export PYTHONPATH=`pwd`
# Generate rst files:
export PYTHONPATH=`pwd`
# Generate rst files:
# Remove all rst files from ./${WORKING_DIR}/env directory - we do not need them
find ./${WORKING_DIR}/env -type f -name '*.rst' | xargs rm -f
# Remove all rst files from ./${WORKING_DIR}/env directory - we do not need them
find ./${WORKING_DIR}/env -type f -name '*.rst' | xargs rm -f