mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
language: python
|
|
sudo: false
|
|
python:
|
|
- "2.6"
|
|
- "2.7"
|
|
- "3.2"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5-dev"
|
|
- "nightly"
|
|
- "pypy"
|
|
- "pypy3"
|
|
env:
|
|
- WITH_OPT_DEPS=true
|
|
- WITH_OPT_DEPS=false
|
|
install:
|
|
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
|
|
# command to run tests, e.g. python setup.py test
|
|
script:
|
|
- echo $TRAVIS_PYTHON_VERSION
|
|
- python setup.py install
|
|
- 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
|
|
- 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
|
|
notifications:
|
|
email: false
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- python: "pypy3" # https://bitbucket.org/pypy/pypy/issues/2129/local-variable-val-referenced-before
|
|
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
|