scrapinghub / splash

Lightweight, scriptable browser as a service with an HTTP API
BSD 3-Clause "New" or "Revised" License
4.09k stars 513 forks source link

qt5: cache qt&pyqt build results on Travis to speed up tests #261

Open kmike opened 9 years ago

kmike commented 9 years ago

See http://docs.travis-ci.com/user/caching/ //cc @sunu

kmike commented 9 years ago

hm, I guess the problem could be our use of sudo

chekunkov commented 9 years ago
job__961_1_-_scrapinghub_splash_-_travis_ci_and_ - _ _ printing _-_abbyy_lingvo-online

@kmike we can speedup builds by disabling sudo and using precompiled binaries, or we can wait, because header says "Using sudo isn’t possible (right now)" :)

kmike commented 9 years ago

@chekunkov as I recall, the problem is that Travis uses Ubuntu 12.04 which doesn't have official qt5 package, and to install qt5 from ppa in a new container-based Travis infrastructure this ppa must be whitelisted, but it is not. @sunu may know more details.

sunu commented 9 years ago

Yes basically we need the Qt5 ppa to be whitelisted first and then we can move to the container based new Travis infrastructure. I just submitted an issue https://github.com/travis-ci/apt-source-whitelist/issues/110. But I am not sure how and if at all they are handling the requests.