From 0db0d45419f74c4fa25648b59fc4af845be330a3 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Thu, 13 Nov 2014 10:33:28 +0100 Subject: [PATCH] Travis: Reactivate virtualenv and instal pkg_resources --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c4f6c2..063fbce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,16 @@ 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: @@ -23,6 +20,7 @@ install: # command to run tests before_script: + - pip install pkg-resources - pip install coverage script: -- 2.39.5