From a018343af68e4e599c712548ff2193ae4d191fe8 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sat, 5 Dec 2020 07:37:06 +0700 Subject: [PATCH] .travis.yml: Add libgit2-dev And pre-install pygit2<1 for Python 3.4 and 3.5 support. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 079ecc2..7d1bbc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,10 +18,12 @@ addons: apt: packages: libdbus-1-dev + libgit2-dev taskwarrior install: - 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: - coverage run --source=. -m pytest tests -v after_script: