Limnoria/.travis.yml

55 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
install:
2021-03-04 20:09:37 +01:00
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt pytest; fi
- git clone https://github.com/ProgVal/irctest.git
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
- supybot-test test -v --plugins-dir=./plugins/ --no-network
2021-03-04 20:09:37 +01:00
- if [ "$WITH_OPT_DEPS" = "true" ] -a [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then cd irctest; pytest --controllers irctest.controllers.limnoria; fi
2014-07-04 23:19:30 +02:00
notifications:
email: false
matrix:
include:
2016-07-28 09:50:08 +02:00
- python: "3.4"
env: WITH_OPT_DEPS=false
dist: trusty
2017-02-25 13:32:22 +01:00
- python: "3.5"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "3.6"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "3.7"
env: WITH_OPT_DEPS=false
dist: xenial
- python: "3.7"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "3.8"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "3.9"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "nightly"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "pypy3"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "nightly"
env: WITH_OPT_DEPS=true
dist: xenial
allow_failures:
- python: "pypy3"
env: WITH_OPT_DEPS=true
dist: xenial