What is the correct way to install python3-gi
on Travis-CI using the .travis.yml
file?
The past recommendation was to use Python 3.2 (Travis-ci & Gobject introspection), but I would prefer testing against more recent versions.
I did try a few sensible combinations of commands, but my knowledge of the Travis-CI environment is very basic:
This for example fails with and without using system_site_packages: true
:
before_install:
- sudo apt-get install -qq python3-gi
virtualenv:
- system_site_packages: true
Two examples of repositories that have this working (as far as I can tell):
- https://github.com/ignatenkobrain/gnome-news (CircleCI)
- https://github.com/devassistant/devassistant (Travis-CI)