aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2014-01-04 19:23:15 +0100
committerMatěj Cepl <mcepl@redhat.com>2014-01-04 19:37:08 +0100
commit9762529a9e4d90734b327770c18ebcc7e86b8879 (patch)
tree5b51750d32806c375a95e4635bd865b402544b5d
parent0f9f919c206711b767029d1aa59ae979bbb69d51 (diff)
downloadgg_scraper-9762529a9e4d90734b327770c18ebcc7e86b8879.tar.gz
Update pip install in .travis.yml
Supporting 2.6 would be too difficult ... patches welcome!
-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(