.travis.yml: remap from installed package to local source
authorPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 17:12:09 +0000 (19:12 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 17:12:09 +0000 (19:12 +0200)
.travis.yml

index e0e88f4..7303534 100644 (file)
@@ -113,6 +113,8 @@ script:
 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
       coveralls
     fi