From 44e041e271d05357fb2e09a1e75daf738d6ef16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 27 Jan 2020 19:45:02 +0100 Subject: [PATCH] travis: include PyGTK setup Installing PyGTK requires actual GTK system package. The easiest way for that is using system site-packages - and this means matching Python version with the Travis environment (Ubuntu bionic). --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8505345..dfae895 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,12 @@ env: jobs: include: - - python: '3.5' - install: pip install --quiet -r ci/requirements.txt + - python: '3.6' # needs to match bionic + virtualenv: + system_site_packages: true + install: + - sudo apt-get -y install python3-gi gir1.2-gtk-3.0 + - pip install --quiet -r ci/requirements.txt env: TESTS_ONLY=1 script: - ./run-tests