Merge branch 'master' into coveralls
[aubio.git] / .travis.yml
index 73aef64..ee5b1cd 100644 (file)
@@ -97,17 +97,22 @@ install:
   - travis_retry make getwaf expandwaf deps_python
   - which pip
   - pip --version
+  - pip install python-coveralls
 
 script:
   - make create_test_sounds
   - |
     if [[ -z "$AUBIO_NOTESTS" ]]; then
+      export NOSE2="coverage run --source=aubio `which nose2`"
       make test_lib_python_clean
       make test_python_only_clean
     else
       make test_lib_only_clean
     fi;
 
+after_success:
+  - coveralls
+
 notifications:
     irc:
         channels: