.travis.yml: Add libgit2-dev
And pre-install pygit2<1 for Python 3.4 and 3.5 support.
This commit is contained in:
parent
d0e309ad0f
commit
a018343af6
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue