From e48826a4357a34ecdfdcdf214cd963bc846d0e4d Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 13 Aug 2013 16:20:28 +0000 Subject: [PATCH 1/3] travis.yml: Add Python 3.3 and disable plugins with broken tests --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4fe666e..9a6f384 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,9 @@ language: python python: + - "2.6" - "2.7" - "3.2" - - "2.6" + - "3.3" - "pypy" # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: @@ -10,4 +11,4 @@ install: # command to run tests, e.g. python setup.py test script: - echo $TRAVIS_PYTHON_VERSION - - supybot-test test --plugins-dir=. --exclude=WebStats + - supybot-test test --plugins-dir=. --exclude=WebStats --exclude=Seeks --exclude=Rbls From b98e6df4fdea0dac1f992fcbd6042235c1978a9d Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 13 Aug 2013 17:03:37 +0000 Subject: [PATCH 2/3] travis.yml: Use --no-network. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9a6f384..831142a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ install: # command to run tests, e.g. python setup.py test script: - echo $TRAVIS_PYTHON_VERSION - - supybot-test test --plugins-dir=. --exclude=WebStats --exclude=Seeks --exclude=Rbls + - supybot-test test --plugins-dir=. --no-network --exclude=WebStats --exclude=Seeks --exclude=Rbls From f1d0361d7fb93a89df707d41610e34a00abb7b5f Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 13 Aug 2013 17:16:07 +0000 Subject: [PATCH 3/3] Seeks: Honor --no-network in tests. --- Seeks/test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Seeks/test.py b/Seeks/test.py index db571cd..9d39300 100644 --- a/Seeks/test.py +++ b/Seeks/test.py @@ -33,9 +33,10 @@ from supybot.test import * class SeeksTestCase(PluginTestCase): plugins = ('Seeks',) - def testSearch(self): - self.assertRegexp('seeks search supybot', - 'http://sourceforge.net/projects/supybot/') + if network: + def testSearch(self): + self.assertRegexp('seeks search supybot', + 'http://sourceforge.net/projects/supybot/') # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: