From ac9b64bf60741232c9d1f2210d287f2e1d481e80 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 1 Jun 2013 15:35:40 -0400 Subject: [PATCH 1/3] Travis integration (closes #33) --- .travis.yml | 6 ++++++ README.rst | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..71b8eb6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: python +python: + - "2.7" + - "3.3" +install: +script: python setup.py test -q diff --git a/README.rst b/README.rst index 9847c33..0be8fd5 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,8 @@ mwparserfromhell ================ +[![Build Status](https://secure.travis-ci.org/earwig/mwparserfromhell.png?branch=develop)](http://travis-ci.org/earwig/mwparserfromhell) + **mwparserfromhell** (the *MediaWiki Parser from Hell*) is a Python package that provides an easy-to-use and outrageously powerful parser for MediaWiki_ wikicode. It supports Python 2 and Python 3. From b2f0f23ea45cb79967e11acc1a14ba4418411913 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 1 Jun 2013 15:48:37 -0400 Subject: [PATCH 2/3] Fix README. --- .travis.yml | 2 +- README.rst | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71b8eb6..7a9920d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,5 @@ language: python python: - "2.7" - "3.3" -install: +install: python setup.py build script: python setup.py test -q diff --git a/README.rst b/README.rst index 0be8fd5..267f7ea 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,9 @@ mwparserfromhell ================ -[![Build Status](https://secure.travis-ci.org/earwig/mwparserfromhell.png?branch=develop)](http://travis-ci.org/earwig/mwparserfromhell) +..image:: https://travis-ci.org/earwig/mwparserfromhell.png?branch=develop + :alt: Build Status + :target: http://travis-ci.org/earwig/mwparserfromhell **mwparserfromhell** (the *MediaWiki Parser from Hell*) is a Python package that provides an easy-to-use and outrageously powerful parser for MediaWiki_ From ce252f69ecb49864b0c4ec98e9b13ca55ce896b8 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 1 Jun 2013 16:00:40 -0400 Subject: [PATCH 3/3] Missed a space. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 267f7ea..77c01eb 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ mwparserfromhell ================ -..image:: https://travis-ci.org/earwig/mwparserfromhell.png?branch=develop +.. image:: https://travis-ci.org/earwig/mwparserfromhell.png?branch=develop :alt: Build Status :target: http://travis-ci.org/earwig/mwparserfromhell