[travis] hopefully fixed test build
locally tested with a xenial image, and this should work. Unfortunately, cannot get the pygit2 to build against the provided libgit2-dev, so using the packaged version instead.
This commit is contained in:
parent
e0fc98bfb0
commit
3937e73e7d
1 changed files with 2 additions and 1 deletions
|
@ -18,9 +18,10 @@ addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
libdbus-1-dev
|
libdbus-1-dev
|
||||||
|
libffi-dev
|
||||||
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)
|
- 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)
|
||||||
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