2014-07-04 23:19:30 +02:00
|
|
|
language: python
|
2017-08-18 22:19:21 +02:00
|
|
|
sudo: true
|
2014-07-04 23:19:30 +02:00
|
|
|
install:
|
2016-08-02 10:28:03 +02:00
|
|
|
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
|
2020-01-01 12:02:19 +01:00
|
|
|
- pip install -v git+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
|
2020-01-02 07:13:10 +01:00
|
|
|
- supybot-test test -v --plugins-dir=./plugins/ --no-network
|
2019-12-26 16:16:58 +01:00
|
|
|
- if [ "$WITH_OPT_DEPS" = "true" ] -a [[ "$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:
|
2019-01-06 17:19:42 +01:00
|
|
|
include:
|
2016-07-28 09:50:08 +02:00
|
|
|
- python: "3.4"
|
2020-09-19 10:29:41 +02:00
|
|
|
env: WITH_OPT_DEPS=false
|
2019-01-06 17:19:42 +01:00
|
|
|
dist: trusty
|
2017-02-25 13:32:22 +01:00
|
|
|
- python: "3.5"
|
2020-09-19 10:29:41 +02:00
|
|
|
env: WITH_OPT_DEPS=false
|
2019-01-06 17:19:42 +01:00
|
|
|
dist: trusty
|
2019-01-02 14:47:59 +01:00
|
|
|
- python: "3.6"
|
2019-01-06 17:19:42 +01:00
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
- python: "3.7"
|
2019-01-02 14:47:59 +01:00
|
|
|
env: WITH_OPT_DEPS=false
|
2019-01-06 17:19:42 +01:00
|
|
|
dist: xenial
|
|
|
|
- python: "3.7"
|
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: xenial
|
|
|
|
- python: "3.8-dev"
|
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: xenial
|
2015-08-26 22:46:28 +02:00
|
|
|
- python: "nightly"
|
2019-01-06 17:19:42 +01:00
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: xenial
|
|
|
|
|
2020-01-01 12:02:19 +01:00
|
|
|
- python: "pypy3"
|
2020-07-25 15:46:12 +02:00
|
|
|
env: WITH_OPT_DEPS=false
|
2019-01-06 17:19:42 +01:00
|
|
|
dist: trusty
|
2019-11-01 21:39:53 +01:00
|
|
|
- python: "pypy3"
|
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: xenial
|
2020-01-23 14:41:02 +01:00
|
|
|
|
2020-01-25 00:12:31 +01:00
|
|
|
allow_failures:
|
2020-01-23 14:41:02 +01:00
|
|
|
- python: "nightly"
|
|
|
|
env: WITH_OPT_DEPS=true
|
|
|
|
dist: xenial
|