Merge pull request #744 from jayvdb/travis-pip-install

.travis.yml: Install declared PyPI dependencies
This commit is contained in:
tobi-wan-kenobi 2020-12-03 07:15:49 +01:00 committed by GitHub
commit 47a640e610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 15 deletions

View file

@ -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:

View file

@ -1,2 +1,2 @@
dbus dbus-python
power power

View file

@ -1 +1 @@
libvirt libvirt-python

View file

@ -1 +1 @@
dbus dbus-python

View file

@ -1 +1 @@
tkinter Pillow # placeholder for tk