From de9b518e5ca9e745df6ae0954bfb56a72bd0f961 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 4 Mar 2021 20:09:37 +0100 Subject: [PATCH] .travis.yml: try to fix irctest run --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7f0792191..3df1b25c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,15 @@ 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 + - if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt pytest; fi + - git clone 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 + - if [ "$WITH_OPT_DEPS" = "true" ] -a [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then cd irctest; pytest --controllers irctest.controllers.limnoria; fi notifications: email: false matrix: