Limnoria/.travis.yml

47 lines
1.4 KiB
YAML
Raw Normal View History

2014-07-04 23:19:30 +02:00
language: python
sudo: true
2014-07-04 23:19:30 +02:00
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
2017-02-25 13:32:22 +01:00
- "3.6"
- "3.7-dev"
2014-07-04 23:19:30 +02:00
- "pypy"
2017-08-20 20:14:09 +02:00
- "pypy-5.3.1" # default pypy3 doesn't work, see https://bitbucket.org/pypy/pypy/issues/2129/local-variable-val-referenced-before
env:
- WITH_OPT_DEPS=true
- WITH_OPT_DEPS=false
2014-07-04 23:19:30 +02:00
install:
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
- if [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then pip install -v git+https://github.com/ProgVal/irctest.git; fi
2016-08-02 11:44:37 +02:00
- echo "y" | pip uninstall limnoria || true
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
2016-08-02 11:04:29 +02:00
- supybot-test test -v --plugins-dir=./plugins/ --no-network --disable-multiprocessing --exclude=./plugins/Scheduler --exclude=./plugins/Filter
- if [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then python -m irctest irctest.controllers.limnoria; fi
2014-07-04 23:19:30 +02:00
notifications:
email: false
matrix:
exclude:
- python: "2.6"
env: WITH_OPT_DEPS=true
- python: "3.2"
env: WITH_OPT_DEPS=false
- python: "3.3"
env: WITH_OPT_DEPS=false
2016-07-28 09:50:08 +02:00
- python: "3.4"
env: WITH_OPT_DEPS=false
2017-02-25 13:32:22 +01:00
- python: "3.5"
env: WITH_OPT_DEPS=false
- python: "nightly"
env: WITH_OPT_DEPS=false
- python: "pypy"
env: WITH_OPT_DEPS=false
2017-02-25 13:32:22 +01:00
- python: "pypy3.3-5.2-alpha1"
env: WITH_OPT_DEPS=false