Skip to content

Commit

Permalink
Add buildout status in readme, fix coverage calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc committed Jan 7, 2015
1 parent 9295ea6 commit 6e77c63
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
23 changes: 19 additions & 4 deletions README.rst
@@ -1,7 +1,3 @@
.. image:: https://secure.travis-ci.org/cosent/plonesocial.microblog.png
:target: http://travis-ci.org/cosent/plonesocial.microblog


Introduction
============

Expand Down Expand Up @@ -52,6 +48,25 @@ upgrades

An upgrade step is provided to add the UUID index introduced in 0.5 to older installations.

Build status
------------

Unit tests
~~~~~~~~~~

.. image:: https://secure.travis-ci.org/cosent/plonesocial.microblog.png
:target: http://travis-ci.org/cosent/plonesocial.microblog
.. image:: http://jenkins.ploneintranet.net/buildStatus/icon?job=Plone%20Social%20Microblog
:target: http://jenkins.ploneintranet.net/job/Plone%20Social%20Microblog/

Robot tests for Plone Social and Plone Intranet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: http://jenkins.ploneintranet.net/buildStatus/icon?job=Plone%20Social%20Suite
:target: http://jenkins.ploneintranet.net/job/Plone%20Social%20Suite%20Master/badge/

.. image:: http://jenkins.ploneintranet.net/buildStatus/icon?job=Plone%20Intranet%20Suite%20Master
:target: http://jenkins.ploneintranet.net/job/Plone%20Intranet%20Suite%20Master/badge/

bugs
----
Expand Down
3 changes: 2 additions & 1 deletion buildout.cfg
Expand Up @@ -2,6 +2,7 @@
extends =
https://raw.github.com/collective/buildout.plonetest/master/travis-4.x.cfg

package-source = plonesocial
package-name = plonesocial.microblog
package-extras = [test]

Expand Down Expand Up @@ -38,7 +39,7 @@ input = inline:
bin/coverage erase
# Collect test coverage results for all packages
echo "Run test coverage analysis for all packages."
bin/coverage run -p --source=src bin/test $@ || exit 1
bin/coverage run -p --source=${buildout:package-source} bin/test $@ || exit 1
echo "Create test coverage report."
# Combine all package analysis
bin/coverage combine
Expand Down

0 comments on commit 6e77c63

Please sign in to comment.