Rolled back to 2.7

This commit is contained in:
Anton Beloglazov 2012-10-02 14:08:07 +10:00
parent fabe39dd87
commit a9f7bcf438

View File

@ -1,23 +1,11 @@
language: python
python:
- 2.6
- 2.7
install:
- sudo apt-get install -qq python-libvirt python-numpy python-scipy tree
- sleep 5
- find /usr/lib -name "*libvirt*"
- ls -al ~/virtualenv/
- tree -d ~/virtualenv/
- ls -al /usr/lib/python2.7/dist-packages
- ls -al ~/virtualenv/python2.7/local/lib/python2.7/site-packages
- cp /usr/lib/python2.7/dist-packages/libvirt* ~/virtualenv/python2.6/lib/python2.6/site-packages/
- ls -al ~/virtualenv/python2.6/lib/python2.6/site-packages
- cp -r /usr/lib/python2.7/dist-packages/numpy* ~/virtualenv/python2.6/lib/python2.6/site-packages/
- cp -r /usr/lib/python2.7/dist-packages/scipy* ~/virtualenv/python2.6/lib/python2.6/site-packages/
- cp /usr/lib/python2.7/dist-packages/libvirt* ~/virtualenv/python2.7/local/lib/python2.7/site-packages/
- ls -al ~/virtualenv/python2.7/local/lib/python2.7/site-packages
- cp -r /usr/lib/python2.7/dist-packages/numpy* ~/virtualenv/python2.7/local/lib/python2.7/site-packages/
- cp -r /usr/lib/python2.7/dist-packages/scipy* ~/virtualenv/python2.7/local/lib/python2.7/site-packages/
- sudo apt-get install -qq python-libvirt python-numpy python-scipy
- cp /usr/lib/python2.7/dist-packages/libvirt* ~/virtualenv/python2.7/lib/python2.7/site-packages/
- cp -r /usr/lib/python2.7/dist-packages/numpy* ~/virtualenv/python2.7/lib/python2.7/site-packages/
- cp -r /usr/lib/python2.7/dist-packages/scipy* ~/virtualenv/python2.7/lib/python2.7/site-packages/
- pip install --use-mirrors pyqcy mocktest PyContracts nose SQLAlchemy bottle python-novaclient
- python setup.py install
script: nosetests