Browse Source

Everybody loves badges, so lets have more of 'em

Rafał Pitoń 11 years ago
parent
commit
9dcae6b230
3 changed files with 13 additions and 5 deletions
  1. 6 2
      .travis.yml
  2. 6 2
      README.md
  3. 1 1
      requirements.txt

+ 6 - 2
.travis.yml

@@ -1,6 +1,10 @@
 language: python
 language: python
 python:
 python:
   - "2.7"
   - "2.7"
-install: "pip install -r requirements.txt --use-mirrors"
+install:
+  - pip install -r requirements.txt --use-mirrors
+  - pip install coveralls
 script:
 script:
-  - python testrunner.py test
+  - coverage run --source=misago testrunner.py test
+ after_success:
+  - coveralls

+ 6 - 2
README.md

@@ -1,4 +1,8 @@
-# Misago [![Build Status](https://travis-ci.org/rafalp/Misago.png?branch=future)](https://travis-ci.org/rafalp/Misago)
+Misago
+======
+[![Build Status](https://travis-ci.org/rafalp/Misago.png?branch=future)](https://travis-ci.org/rafalp/Misago)
+[![Coverage Status](https://coveralls.io/repos/rafalp/Misago/badge.png?branch=future)](https://coveralls.io/r/rafalp/Misago)
+[![Code Health](landscape.io/github/rafalp/Misago/future/landscape.png)](landscape.io/github/rafalp/Misago/future)
 
 
 **Branch Status: _Not Functional_**
 **Branch Status: _Not Functional_**
 
 
@@ -44,4 +48,4 @@ __Misago__ - Copyright © 2014 [Rafał Pitoń](http://github.com/ralfp)
 This program comes with ABSOLUTELY NO WARRANTY.
 This program comes with ABSOLUTELY NO WARRANTY.
 
 
 This is free software and you are welcome to modify and redistribute it under the conditions described in the license.
 This is free software and you are welcome to modify and redistribute it under the conditions described in the license.
-For the complete license, refer to [LICENSE.md](LICENSE.md)
+For the complete license, refer to [LICENSE.md](LICENSE.md)

+ 1 - 1
requirements.txt

@@ -1 +1 @@
-django==1.6.1
+django==1.6.1