File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [run]
2+ source = ./libcomxml
Original file line number Diff line number Diff line change 11language : python
22python :
3- - " 2.6"
43 - " 2.7"
54install :
65 - " pip install ."
7- - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
6+ - " pip install coveralls "
87script :
9- - py.test tests/*.py
10- notifications :
11- irc : " irc.freenode.org#gisce-commits"
8+ - coverage run setup.py test
9+ after_success :
10+ - coveralls
11+ - coverage report
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ libComXML
55.. image :: https://travis-ci.org/gisce/libComXML.png?branch=master
66 :target: https://travis-ci.org/gisce/libComXML
77 :alt: Build Status
8+
9+ .. image :: https://coveralls.io/repos/github/gisce/libComXML/badge.svg?branch=master
10+ :target: https://coveralls.io/github/gisce/libComXML?branch=master
11+
812
913This library permits XML generation from Python objects
1014
Original file line number Diff line number Diff line change 1010 packages = find_packages (),
1111 install_requires = ['lxml' ],
1212 license = 'None' ,
13- description = 'This library permits XML generation from Python objects'
13+ description = 'This library permits XML generation from Python objects' ,
14+ test_suite = 'tests'
1415)
Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ class Namespaces(unittest.TestCase):
219219 def setUp (self ):
220220 self .xml = "<?xml version='1.0' encoding='UTF-8'?>\n "
221221 self .xml += "<rss "
222- self .xml += "xmlns:opensearch=\" http://a9.com/-/spec/opensearch/1.1/\" "
223222 self .xml += "xmlns:atom=\" http://www.w3.org/2005/Atom\" "
223+ self .xml += "xmlns:opensearch=\" http://a9.com/-/spec/opensearch/1.1/\" "
224224 self .xml += "version=\" 2.0\" >"
225225 self .xml += "<channel><link>http://example.com/New+York+history</link>"
226226 self .xml += "<atom:link "
You can’t perform that action at this time.
0 commit comments