.travis.yml: Pre-install libvirt-dev

Also install libvirt-python<6.3 for Python 3.4 support.
This commit is contained in:
John Vandenberg 2020-12-04 17:08:44 +07:00
parent a018343af6
commit e872897346

View file

@ -19,10 +19,11 @@ addons:
packages: packages:
libdbus-1-dev libdbus-1-dev
libgit2-dev libgit2-dev
libvirt-dev
taskwarrior taskwarrior
install: install:
- pip install -U coverage pytest pytest-mock freezegun - pip install -U coverage pytest pytest-mock freezegun
- pip install 'pygit2<1' || true - pip install 'pygit2<1' 'libvirt-python<6.3' || true
- pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u) - pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
script: script:
- coverage run --source=. -m pytest tests -v - coverage run --source=. -m pytest tests -v