From a58454de97d3003fc558284e92392a07bf708910 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 3 Dec 2020 12:54:44 +0700 Subject: [PATCH] .travis.yml: Allow building dbus-python --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47c124c..72e3881 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,3 @@ -dist: xenial os: linux language: python env: @@ -15,10 +14,11 @@ 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 $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u) script: