Merge "Add Python Linting Job"
[releng.git] / jjb / yardstick / yardstick-project-jobs.yml
index 91138e5..f06bf70 100644 (file)
             cd $WORKSPACE
             virtualenv $WORKSPACE/yardstick_venv
             source $WORKSPACE/yardstick_venv/bin/activate
+
+            # install python packages
             easy_install -U setuptools
-            python setup.py develop
+            easy_install -U pip
+            pip install -r ci/requirements.txt
+            pip install -e .
 
             # unit tests
             ./run_tests.sh
 
+            pip install Sphinx==1.3.1 doc8 docutils sphinxcontrib-httpdomain
+
             # generate api doc sources
             sphinx-apidoc -o docs/apidocs yardstick