2014-07-04 23:19:30 +02:00
|
|
|
language: python
|
2015-08-26 23:10:22 +02:00
|
|
|
sudo: false
|
2014-07-04 23:19:30 +02:00
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
- "3.2"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2015-08-01 23:13:11 +02:00
|
|
|
- "3.5-dev"
|
2015-05-18 23:01:45 +02:00
|
|
|
- "nightly"
|
2014-07-04 23:19:30 +02:00
|
|
|
- "pypy"
|
2014-08-02 10:51:52 +02:00
|
|
|
- "pypy3"
|
2015-08-26 22:46:28 +02:00
|
|
|
env:
|
|
|
|
- WITH_OPT_DEPS=true
|
|
|
|
- WITH_OPT_DEPS=false
|
2014-07-04 23:19:30 +02:00
|
|
|
install:
|
2015-08-26 22:46:28 +02:00
|
|
|
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
|
2014-07-04 23:19:30 +02:00
|
|
|
# command to run tests, e.g. python setup.py test
|
|
|
|
script:
|
|
|
|
- echo $TRAVIS_PYTHON_VERSION
|
|
|
|
- python setup.py install
|
2015-08-29 23:02:38 +02:00
|
|
|
- supybot-test test -v --plugins-dir=./build/lib*/supybot/plugins/ --no-network --disable-multiprocessing --exclude=./build/lib*/supybot/plugins/Scheduler --exclude=./build/lib*/supybot/plugins/Filter
|
2015-12-20 21:16:16 +01:00
|
|
|
- if [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then pip install -v git+https://github.com/ProgVal/irctest.git; fi
|
|
|
|
- if [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then python -m irctest irctest.controllers.limnoria; fi
|
2014-07-04 23:19:30 +02:00
|
|
|
notifications:
|
2014-07-16 14:33:15 +02:00
|
|
|
email: false
|
2014-07-12 10:18:25 +02:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-01-03 12:39:58 +01:00
|
|
|
allow_failures:
|
|
|
|
- python: "pypy3" # https://bitbucket.org/pypy/pypy/issues/2129/local-variable-val-referenced-before
|
2015-08-26 22:46:28 +02:00
|
|
|
exclude:
|
|
|
|
- python: "2.6"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "3.2"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "3.3"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "3.5-dev"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "nightly"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "pypy"
|
|
|
|
env: WITH_OPT_DEPS=false
|
|
|
|
- python: "pypy3"
|
|
|
|
env: WITH_OPT_DEPS=false
|