From: Thomas Fillon Date: Thu, 13 Nov 2014 09:24:14 +0000 (+0100) Subject: Travis: Deactivate virtualenv before installing ubuntu packages X-Git-Tag: 0.7^2~48^2~6 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dad38d52d73938518cb7ff89c485674224ee244d;p=timeside.git Travis: Deactivate virtualenv before installing ubuntu packages --- diff --git a/.travis.yml b/.travis.yml index 7dd8392..5c4f6c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,33 @@ language: python python: - "2.7" -virtualenv: - system_site_packages: true +#virtualenv: +# system_site_packages: true # command to prepare the system to install prerequisites or dependencies before_install: + - deactivate - sudo add-apt-repository -y ppa:donk/gstreamer - sudo apt-get -qq update - sudo apt-get install -qq python-numpy python-scipy python-matplotlib python-networkx - sudo apt-get install -qq libhdf5-serial-dev python-h5py python-tables - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad + - virtualenv --system-site-packages venv + - source venv/bin/activate # command to install dependencies install: -# - "pip install -r requirements.txt --use-mirrors" -- python setup.py install + # - "pip install -r requirements.txt --use-mirrors" + - python setup.py install # command to run tests before_script: -- pip install coverage -- pip install coveralls + - pip install coverage script: - coverage run --source=timeside --omit=timeside/analyzer/aubio/aubio_*.py,timeside/analyzer/yaafe.py,timeside/analyzer/limsi_sad.py,timeside/analyzer/vamp_plugin.py setup.py test after_success: + - pip install coveralls - coveralls \ No newline at end of file