.travis.yml: Allow building dbus-python

This commit is contained in:
John Vandenberg 2020-12-03 12:54:44 +07:00
parent 21268d7d86
commit a58454de97

View file

@ -1,4 +1,3 @@
dist: xenial
os: linux os: linux
language: python language: python
env: env:
@ -15,10 +14,11 @@ 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 $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u) - pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
script: script: