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
|
os: linux
|
||||||
language: python
|
language: python
|
||||||
env:
|
env:
|
||||||
|
@ -15,18 +14,13 @@ before_script:
|
||||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
- chmod +x ./cc-test-reporter
|
- chmod +x ./cc-test-reporter
|
||||||
- ./cc-test-reporter before-build
|
- ./cc-test-reporter before-build
|
||||||
before_install:
|
addons:
|
||||||
- sudo apt-get -qq update
|
apt:
|
||||||
|
packages:
|
||||||
|
libdbus-1-dev
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install python-dbus
|
|
||||||
- pip install -U coverage pytest pytest-mock freezegun
|
- pip install -U coverage pytest pytest-mock freezegun
|
||||||
- pip install i3-py Pillow Babel DateTime python-dateutil
|
- pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
|
||||||
- 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
|
|
||||||
script:
|
script:
|
||||||
- coverage run --source=. -m pytest tests -v
|
- coverage run --source=. -m pytest tests -v
|
||||||
after_script:
|
after_script:
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
dbus
|
dbus-python
|
||||||
power
|
power
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
libvirt
|
libvirt-python
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
dbus
|
dbus-python
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
tkinter
|
Pillow # placeholder for tk
|
||||||
|
|
Loading…
Reference in a new issue