[tor-commits] [ooni-probe/master] Add support for running coveralls after travis CI

art at torproject.org art at torproject.org
Mon Nov 11 13:46:09 UTC 2013


commit 87877094d029f4007337956750fb046c2d2d3127
Author: Arturo Filastò <art at fuffa.org>
Date:   Wed Nov 6 10:23:55 2013 +0100

    Add support for running coveralls after travis CI
---
 .coveragerc |    2 ++
 .travis.yml |    6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..2f4e3de
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,2 @@
+[run]
+source = ooni
diff --git a/.travis.yml b/.travis.yml
index 568f42d..0a7ae5b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,9 +7,11 @@ python:
 # the first is for testing pip and the second for setuptools
 install:
   - pip install pyrex
+  - pip install coveralls
   - pip install -r requirements.txt --use-mirrors
   - python setup.py install
 # command to run tests, e.g. python setup.py test
 script:
-  # To be activated after merge of PR#64
-  - trial ooni
+  - coverage run $(which trial) ooni
+after_success: 
+  - coveralls





More information about the tor-commits mailing list