.travis.yml: try to fix irctest run

This commit is contained in:
Valentin Lorentz 2021-03-04 20:09:37 +01:00
parent 8b497af30b
commit de9b518e5c

View File

@ -1,15 +1,15 @@
language: python language: python
sudo: true sudo: true
install: install:
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt; fi - if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt pytest; fi
- pip install -v git+https://github.com/ProgVal/irctest.git - git clone https://github.com/ProgVal/irctest.git
- echo "y" | pip uninstall limnoria || true - echo "y" | pip uninstall limnoria || true
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: script:
- echo $TRAVIS_PYTHON_VERSION - echo $TRAVIS_PYTHON_VERSION
- python setup.py install - python setup.py install
- supybot-test test -v --plugins-dir=./plugins/ --no-network - 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: notifications:
email: false email: false
matrix: matrix: