Merge pull request #744 from jayvdb/travis-pip-install
.travis.yml: Install declared PyPI dependencies
This commit is contained in:
commit
47a640e610
5 changed files with 9 additions and 15 deletions
16
.travis.yml
16
.travis.yml
|
@ -1,4 +1,3 @@
|
|||
dist: xenial
|
||||
os: linux
|
||||
language: python
|
||||
env:
|
||||
|
@ -15,18 +14,13 @@ before_script:
|
|||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
- chmod +x ./cc-test-reporter
|
||||
- ./cc-test-reporter before-build
|
||||
before_install:
|
||||
- sudo apt-get -qq update
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
libdbus-1-dev
|
||||
install:
|
||||
- sudo apt-get install python-dbus
|
||||
- pip install -U coverage pytest pytest-mock freezegun
|
||||
- pip install i3-py Pillow Babel DateTime python-dateutil
|
||||
- pip install docker feedparser==6.0.0b1 i3ipc
|
||||
- pip install netifaces power
|
||||
- pip install psutil pytz
|
||||
- pip install requests simplejson
|
||||
- pip install suntime
|
||||
- pip install tzlocal
|
||||
- pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
|
||||
script:
|
||||
- coverage run --source=. -m pytest tests -v
|
||||
after_script:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
dbus
|
||||
dbus-python
|
||||
power
|
||||
|
|
|
@ -1 +1 @@
|
|||
libvirt
|
||||
libvirt-python
|
||||
|
|
|
@ -1 +1 @@
|
|||
dbus
|
||||
dbus-python
|
||||
|
|
|
@ -1 +1 @@
|
|||
tkinter
|
||||
Pillow # placeholder for tk
|
||||
|
|
Loading…
Reference in a new issue