We need to start adding support to Python3 to match
Openstack support for Python3.
Use tox and move all the env setup to tox.ini
JIRA: YARDSTICK-452
Change-Id: Ie57b5edd87ab6fad641a174f468d3265757e0f71
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
echo "Running unit tests..."
cd $WORKSPACE
- virtualenv $WORKSPACE/yardstick_venv
- source $WORKSPACE/yardstick_venv/bin/activate
-
- # install python packages
- sudo apt-get install -y build-essential python-dev python-pip python-pkg-resources
- easy_install -U setuptools==33.1.1
- easy_install -U pip
- pip install -r requirements.txt || pip install -r tests/ci/requirements.txt
- pip install -e .
-
- # unit tests
- ./run_tests.sh
-
- deactivate
+ tox