From 8e4b2050b44258936e812e92bfad12071c44ecd6 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 22 Apr 2014 08:18:35 +0200 Subject: [PATCH] Add coverage to Travis-CI --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba77fd7..0415ea6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,17 +8,18 @@ virtualenv: # command to prepare the system to install prerequisites or dependencies before_install: + - sudo apt-get install -qq python-numpy python-scipy python-matplotlib - sudo add-apt-repository -y ppa:donk/gstreamer - sudo apt-get -qq update - sudo apt-get install -qq libhdf5-serial-dev python-h5py - sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran - - sudo apt-get install -qq python-numpy python-scipy python-matplotlib - sudo apt-get install -qq python-gst0.10 gstreamer0.10-plugins-good gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad # command to install dependencies install: # - "pip install -r requirements.txt --use-mirrors" - python setup.py install + - pip install coveralls # command to run tests before_script: @@ -26,4 +27,7 @@ before_script: script: # - py.test tests --ignore tests/sandbox - - python setup.py test + - coverage run --source=timeside python setup.py test + +after_success: + coveralls \ No newline at end of file -- 2.39.5