2013-01-04 19:38:35 +01:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2013-01-06 19:41:52 +01:00
|
|
|
- "3.2"
|
2013-01-04 19:38:35 +01:00
|
|
|
- "2.6"
|
2013-01-06 19:41:52 +01:00
|
|
|
- "pypy"
|
2013-01-04 19:38:35 +01:00
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
|
|
|
install:
|
2013-01-05 17:44:27 +01:00
|
|
|
- pip install pytz
|
2013-01-04 19:38:35 +01:00
|
|
|
# command to run tests, e.g. python setup.py test
|
|
|
|
script:
|
2013-01-06 13:31:34 +01:00
|
|
|
- echo $TRAVIS_PYTHON_VERSION
|
|
|
|
- if [ `echo $TRAVIS_PYTHON_VERSION | head -c 1` -eq 3 ] ; then ./sandbox/run_2to3.sh -j3; cd py3k/; python3 setup.py install; else python setup.py install; fi
|
2013-01-23 14:47:55 +01:00
|
|
|
- supybot-test test --plugins-dir=plugins/ --exclude=plugins/PluginDownloader --exclude=plugins/ShrinkUrl
|