Changeset 39b686c for .travis.yml


Ignore:
Timestamp:
Sep 17, 2017, 10:34:04 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
d85e16f
Parents:
639bf5e
Message:

.travis.yml: add lcov and coveralls-lcov

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r639bf5e r39b686c  
    8282    - libfftw3-dev
    8383    - sox
     84    - lcov
    8485
    8586before_install:
     
    99100  - pip --version
    100101  - pip install python-coveralls
     102  - gem install coveralls-lcov
    101103
    102104script:
     
    105107    if [[ -z "$AUBIO_NOTESTS" ]]; then
    106108      make test_lib_python_clean
    107       export NOSE2="coverage run --source=aubio `which nose2`"
    108       make test_python_only
     109      make coverage
    109110    else
    110111      make test_lib_only_clean
     
    114115  - |
    115116    if [[ -z "$AUBIO_NOTESTS" ]]; then
    116       sed 's|\"\([^"]*\)/\(aubio\/\)\([^"]*\.py\)"|"'$PWD'/python/lib/aubio/\3"|g' .coverage > .coverage.remap
    117       mv -f .coverage.remap .coverage
     117      # upload lcov coverage
     118      coveralls-lcov build/coverage.info
     119      # upload python coverage
    118120      coveralls
    119121    fi
Note: See TracChangeset for help on using the changeset viewer.