Merge branch 'master' of github.com:ProgVal/Supybot-plugins

master
Valentin Lorentz 2013-08-14 20:48:34 +02:00
commit cfd0354b84
2 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,9 @@
language: python language: python
python: python:
- "2.6"
- "2.7" - "2.7"
- "3.2" - "3.2"
- "2.6" - "3.3"
- "pypy" - "pypy"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: install:
@ -10,4 +11,4 @@ install:
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: script:
- echo $TRAVIS_PYTHON_VERSION - echo $TRAVIS_PYTHON_VERSION
- supybot-test test --plugins-dir=. --exclude=WebStats - supybot-test test --plugins-dir=. --no-network --exclude=WebStats --exclude=Seeks --exclude=Rbls

View File

@ -33,9 +33,10 @@ from supybot.test import *
class SeeksTestCase(PluginTestCase): class SeeksTestCase(PluginTestCase):
plugins = ('Seeks',) plugins = ('Seeks',)
def testSearch(self): if network:
self.assertRegexp('seeks search supybot', def testSearch(self):
'http://sourceforge.net/projects/supybot/') self.assertRegexp('seeks search supybot',
'http://sourceforge.net/projects/supybot/')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: