shithub: aubio

Download patch

ref: 39b686c4596de2fef115ffa8a0b58b2410d90ad1
parent: 639bf5e2c6d2a5aa0fa456ccb31313e77e531ba0
author: Paul Brossier <piem@piem.org>
date: Sun Sep 17 18:34:04 EDT 2017

.travis.yml: add lcov and coveralls-lcov

--- a/.travis.yml
+++ b/.travis.yml
@@ -81,6 +81,7 @@
     - libasound2-dev
     - libfftw3-dev
     - sox
+    - lcov
 
 before_install:
    - |
@@ -98,6 +99,7 @@
   - which pip
   - pip --version
   - pip install python-coveralls
+  - gem install coveralls-lcov
 
 script:
   - make create_test_sounds
@@ -104,8 +106,7 @@
   - |
     if [[ -z "$AUBIO_NOTESTS" ]]; then
       make test_lib_python_clean
-      export NOSE2="coverage run --source=aubio `which nose2`"
-      make test_python_only
+      make coverage
     else
       make test_lib_only_clean
     fi;
@@ -113,8 +114,9 @@
 after_success:
   - |
     if [[ -z "$AUBIO_NOTESTS" ]]; then
-      sed 's|\"\([^"]*\)/\(aubio\/\)\([^"]*\.py\)"|"'$PWD'/python/lib/aubio/\3"|g' .coverage > .coverage.remap
-      mv -f .coverage.remap .coverage
+      # upload lcov coverage
+      coveralls-lcov build/coverage.info
+      # upload python coverage
       coveralls
     fi