]> git.parisson.com Git - timeside.git/commitdiff
Travis-CI: Put back coverage report
authorThomas Fillon <thomas@parisson.com>
Fri, 16 Jan 2015 10:40:49 +0000 (11:40 +0100)
committerThomas Fillon <thomas@parisson.com>
Fri, 16 Jan 2015 10:40:49 +0000 (11:40 +0100)
.travis.yml

index 29e8c6e163c8a47ea3be9bfc743951da273cd464..24fff573c9da5495579be354e08009735e92b1c4 100644 (file)
@@ -39,10 +39,10 @@ before_script:
 
 
 script:
-  #coverage run --source=timeside --omit=timeside/analyzer/aubio/aubio_*.py,timeside/analyzer/yaafe.py,timeside/analyzer/limsi_sad.py,timeside/analyzer/vamp_plugin.py setup.py test
+  #
   # -------------DEFAULT--------------------
   - if [[ $TEST_TARGET == 'default' ]]; then
-       python setup.py test;
+       coverage run --source=timeside --omit=timeside/plugins/analyzer/externals/aubio/aubio_*.py,timeside/plugins/analyzer/external/yaafe.py setup.py test;
     fi
   # -------------DOC------------------------
   - if [[ $TEST_TARGET == 'doc' ]]; then
@@ -57,5 +57,8 @@ script:
     fi
 
 after_success:
- #- pip install coveralls
- #- coveralls
+  -  # -------------DEFAULT--------------------
+  - if [[ $TEST_TARGET == 'default' ]]; then
+          pip install coveralls;
+          coveralls;
+    fi
\ No newline at end of file