.travis.yml: Add libgit2-dev

And pre-install pygit2<1 for Python 3.4 and 3.5 support.
This commit is contained in:
John Vandenberg 2020-12-05 07:37:06 +07:00
parent d0e309ad0f
commit a018343af6

View file

@ -18,10 +18,12 @@ addons:
apt: apt:
packages: packages:
libdbus-1-dev libdbus-1-dev
libgit2-dev
taskwarrior taskwarrior
install: install:
- pip install -U coverage pytest pytest-mock freezegun - pip install -U coverage pytest pytest-mock freezegun
- pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u|grep -v dbus-python|grep -v libvirt-python|grep -v Pillow|grep -v pygit2) - pip install 'pygit2<1' || true
- 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
after_script: after_script: