Revision 1c4a3c25f532f0c74a2493b1bab36c72aca313cc authored by Valentin Lorentz on 22 May 2020, 09:37:56 UTC, committed by Valentin Lorentz on 22 May 2020, 09:37:56 UTC
1 parent e531bc0
Raw File
.travis.yml
language: python
sudo: true
install:
  - if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi
  - pip install -v git+https://github.com/ProgVal/irctest.git
  - echo "y" | pip uninstall limnoria || true
# 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
  - if [ "$WITH_OPT_DEPS" = "true" ] -a [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then python -m irctest irctest.controllers.limnoria; fi
notifications:
    email: false
matrix:
  include:
    - python: "3.4"
      env: WITH_OPT_DEPS=true
      dist: trusty
    - python: "3.5"
      env: WITH_OPT_DEPS=true
      dist: trusty
    - python: "3.6"
      env: WITH_OPT_DEPS=true
      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-dev"
      env: WITH_OPT_DEPS=true
      dist: xenial
    - python: "nightly"
      env: WITH_OPT_DEPS=true
      dist: xenial

    - python: "pypy3"
      env: WITH_OPT_DEPS=true
      dist: trusty
    - python: "pypy3"
      env: WITH_OPT_DEPS=true
      dist: xenial

  allow_failures:
    - python: "nightly"
      env: WITH_OPT_DEPS=true
      dist: xenial
back to top