Changes in / [5eaed62:dfa4095]


Ignore:
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r5eaed62 rdfa4095  
    9898  - which pip
    9999  - pip --version
     100  - pip install python-coveralls
    100101
    101102script:
     
    104105    if [[ -z "$AUBIO_NOTESTS" ]]; then
    105106      make test_lib_python_clean
    106       make test_python_only_clean
     107      export NOSE2="coverage run --source=aubio `which nose2`"
     108      make test_python_only
    107109    else
    108110      make test_lib_only_clean
    109111    fi;
     112
     113after_success:
     114  - |
     115    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
     118      coveralls
     119    fi
    110120
    111121notifications:
  • Makefile

    r5eaed62 rdfa4095  
    3636MANDIR?=$(DATAROOTDIR)/man
    3737
     38# default nose2 command
     39NOSE2?=nose2 -N 4 --verbose
     40
    3841SOX=sox
    3942
     
    136139test_python: local_dylib
    137140        # run test with installed package
    138         ./python/tests/run_all_tests --verbose
    139         # also run with nose, multiple processes
    140         nose2 -N 4
     141        # ./python/tests/run_all_tests --verbose
     142        # run with nose2, multiple processes
     143        $(NOSE2)
    141144
    142145clean_python:
Note: See TracChangeset for help on using the changeset viewer.