aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--README.rst5
-rwxr-xr-xgg_scrapper.py2
3 files changed, 7 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 57f70f9..85d9c5c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,9 @@
language: python
python:
- - "2.6"
- "2.7"
- "pypy"
- "3.2"
- "3.3"
before_script:
- - "pip install --use-mirrors ."
-script: PYTHONPATH=$PYTHONPATH:. python test/test_html2text.py -v
+ - "pip install --use-mirrors beautifulsoup4 PyYAML"
+script: python setup.py test
diff --git a/README.rst b/README.rst
index 8ecc66c..8e09332 100644
--- a/README.rst
+++ b/README.rst
@@ -16,4 +16,7 @@ email (one of many of my addresses are available on my `Github page`_ )
.. _`Github page`:
https://github.com/mcepl
-Of course pull requests (especially for testing with python 2.*) are more than welcome in the same places as well. Currently all development is done with Python 3.3.
+Of course pull requests are more than welcome in the same places as well. Currently all development is done with Python 3.3, but tests are run on Travis-CI for 2.7 and pypy as well.
+
+.. image:: https://secure.travis-ci.org/mcepl/gg_scrapper.png
+ :alt: Build Status
diff --git a/gg_scrapper.py b/gg_scrapper.py
index 40a255e..8ba5e2e 100755
--- a/gg_scrapper.py
+++ b/gg_scrapper.py
@@ -41,7 +41,7 @@ except ImportError:
from bs4 import BeautifulSoup
import logging
logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
- level=logging.DEBUG)
+ level=logging.INFO)
ADDR_SEC_LABEL = 'addresses'
MANGLED_ADDR_RE = re.compile(