From: Thomas Fillon Date: Tue, 22 Apr 2014 06:18:35 +0000 (+0200) Subject: Add coverage to Travis-CI X-Git-Tag: 0.5.5~1^2~38^2~23 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8e4b2050b44258936e812e92bfad12071c44ecd6;p=timeside.git Add coverage to Travis-CI --- 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