Skip to content

Commit

Permalink
Merge pull request #1 from cdsousa/coveralls
Browse files Browse the repository at this point in the history
Coveralls
  • Loading branch information
cdsousa committed Sep 18, 2013
2 parents 17cebd7 + c71a1f5 commit 6a7ac64
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
branch = True
source = lmi_sdp
include = lmi_sdp/*
omit = lmi_sdp/*/tests/*
lmi_sdp/tests/*
test_*.*
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ before_install:
- sudo apt-get install python-cvxopt
- sudo apt-get build-dep python-cvxopt
- pip install cvxopt --use-mirrors
- pip install coveralls --use-mirrors
install:
- python setup.py install
script:
- ./run_tests.sh
after_script:
- coveralls
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ Depends on [SymPy](http://sympy.org) 0.7.3 and [NumPy](http://www.numpy.org/) 1.
Single codebase supporting both Python 2.7 and Python 3.3.
PyLMI-SDP is tested in these versions but it may work in others.

[![Build Status](https://travis-ci.org/cdsousa/PyLMI-SDP.png?branch=master)](https://travis-ci.org/cdsousa/PyLMI-SDP)
PyLMI-SDP is at [GitHub](https://github.com/cdsousa/PyLMI-SDP)

[![Build Status](https://travis-ci.org/cdsousa/PyLMI-SDP.png?branch=master)](https://travis-ci.org/cdsousa/PyLMI-SDP)
[![Coverage Status](https://coveralls.io/repos/cdsousa/PyLMI-SDP/badge.png?branch=master)](https://coveralls.io/r/cdsousa/PyLMI-SDP?branch=master)

LMI Definition
--------------
Expand Down
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
nosetests --with-doctest --doctest-extension=md
nosetests --with-doctest --doctest-extension=md --with-coverage --cover-package=lmi_sdp $@

0 comments on commit 6a7ac64

Please sign in to comment.