]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #20 from tbabej/add_coveralls
authorRob Golding <rob@robgolding.com>
Sun, 11 Jan 2015 19:01:12 +0000 (19:01 +0000)
committerRob Golding <rob@robgolding.com>
Sun, 11 Jan 2015 19:01:12 +0000 (19:01 +0000)
Add code coverage

.travis.yml
README.rst

index 519886b64a894436ca1fc0a54cfa190ce06b311e..6a1936e8bab30f2bacf7bda68a0efbb3f26b7ecf 100644 (file)
@@ -14,6 +14,7 @@ python:
   - "3.4"
 install:
   - pip install -e .
+  - pip install coveralls
   - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
   - sudo apt-get update -qq
   - sudo apt-get install -qq build-essential cmake uuid-dev g++-4.8
@@ -29,4 +30,6 @@ install:
 before_script:
   - cd $TRAVIS_BUILD_DIR
 script:
-  - python setup.py test
+  - coverage run --source=tasklib setup.py test
+after_success:
+  - coveralls
index b0a3e3453971b7fdb147b26db04097dd28848232..ff25287dc08ad5ab280aa93eade6013f0ef6fc45 100644 (file)
@@ -4,6 +4,9 @@ tasklib
 .. image:: https://travis-ci.org/robgolding63/tasklib.png
     :target: http://travis-ci.org/robgolding63/tasklib
 
+.. image:: https://coveralls.io/repos/robgolding63/tasklib/badge.png?branch=develop
+    :target: https://coveralls.io/r/robgolding63/tasklib?branch=develop
+
 tasklib is a Python library for interacting with taskwarrior_ databases, using
 a queryset API similar to that of Django's ORM.