diff --git a/.travis.yml b/.travis.yml index 4fe666e..831142a 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=. --no-network --exclude=WebStats --exclude=Seeks --exclude=Rbls 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: