2013-01-04 19:38:35 +01:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.2"
|
|
|
|
- "2.7"
|
|
|
|
- "2.6"
|
|
|
|
# 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-04 20:17:49 +01:00
|
|
|
- supybot-test test --plugins-dir=plugins/
|