-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis build fails #10
Comments
Travis uses virtualenv for Python tests. So, could it be possible that the python3-gi package installed globally before the build is not able to be imported inside the virtualenv ? But since gir cannot be installed through pip, a possible fix would be adding its location to the virtual path - http://stackoverflow.com/a/12831223 |
Feel free to modify I've enabled importing system packages into virtualenv, that should not be the issue |
Looks like Travis CI uses ubuntu 12.04 (maybe because of LTS), so we couldn't install python3 packages using apt-get. Also, GObject Introspection libraries aren't available on pypi, so we need to
I'll test whether any of the above methods works. |
@PARTP , apt-get is successfully able to install python3-gi. You can find it in the buildlog - https://s3.amazonaws.com/archive.travis-ci.org/jobs/22000562/log.txt I've pasted below the relevant part -
|
@parinporecha, you're right. Packages via
|
ibus-bogo-python seems to run those tests on Travis perfectly fine:
|
Thanks @izidormatusov for the example, the problem was caused by the combination of python 3.3 & Ubuntu 12.04 for shared object file |
Travis build for GTG fails because it is not able to import the module 'gi'.
Here's a bulid-log - https://travis-ci.org/getting-things-gnome/gtg/builds/22000561#L302
Here's the relevant question asked on SO - http://stackoverflow.com/questions/22748528/travis-ci-gobject-introspection
The text was updated successfully, but these errors were encountered: