.travis.yml: run coverage only second time, do not clean, coveralls only when tests...
authorPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 13:11:28 +0000 (15:11 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 13:11:28 +0000 (15:11 +0200)
.travis.yml

index ee5b1cd..e0e88f4 100644 (file)
@@ -103,15 +103,18 @@ 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
+      export NOSE2="coverage run --source=aubio `which nose2`"
+      make test_python_only
     else
       make test_lib_only_clean
     fi;
 
 after_success:
-  - coveralls
+  - |
+    if [[ -z "$AUBIO_NOTESTS" ]]; then
+      coveralls
+    fi
 
 notifications:
     irc: