-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 15/09/13 23:34, Roger Leigh wrote:
> On Tue, Sep 10, 2013 at 10:42:09PM +0200, Daniel Pocock wrote:
>>
>>
>> Some of the upstream projects I work on use travis-ci.org for
>> continuous integration
>>
>> In some cases I'd like to configure builds that depend on
>> packages from Debian unstable, but I'm not sure of the Ubuntu or
>> travis way of doing that, has anybody dealt with this before? Or
>> is there a Debian alternative?
>
> You can configure travis to add additional apt sources and then
> install packages from them, e.g.
>
> before_install: - sudo add-apt-repository -y "deb
> http://archive.ubuntu.com/ubuntu/ raring main universe" - sudo
> apt-get -qq update - if [[ $BUILD != 'sphinx' ]]; then sudo apt-get
> install -qq python-genshi; fi - if [[ $BUILD == 'cppwrap' ]]; then
> sudo apt-get install -qq build-essential cmake libboost-all-dev;
> fi - if [[ $BUILD == 'sphinx' ]]; then sudo apt-get install -qq
> python-sphinx; fi - if [[ $BUILD == 'sphinx' ]]; then sudo apt-get
> -y install texlive-latex-base texlive-latex-recommended
> texlive-xetex; fi - if [[ $BUILD == 'sphinx' ]]; then sudo apt-get
> -y install texlive-latex-extra texlive-fonts-recommended tex-gyre;
> fi - if [[ $BUILD == 'sphinx' ]]; then sudo fc-cache -rsfv; fi
>
> In this case, we're updating to a newer version of Ubuntu and
> installing packages from it, but you can probably do exactly the
> same for unstable.
>
Thanks for this feedback, I managed to get my dependency into saucy
and it is working with that approach
However, I suspect that sooner or later I will need to just get things
directly from sid (or testing) so that I am always using the versions
likely to be released. I've never tried doing such a dist-upgrade
from Ubuntu but if it can all happen without any user input then I
will give it a go.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBCAAGBQJSOg8BAAoJEOm1uwJp1aqDZ4gP/iHuYUsEqZ7nz4b/Ddc9JP6z
NQghvjLIWX5X7imX+vMCyhB5gW3gif9j7JVb3CDVxDJcVHsNQfny2xGgHneUxHTn
uwaKsds2Wk8vev/IiugssycdoFhm0TP3hdLzXSRb4aP5Y1kMsRdwPlv+cWzVITKd
g/cSayTG737cnUC//0T1LiwkFcRH2vdY09QvL5Q4ctik9RFc6F9bbBUcTK+oUz/V
AOVpX4n6ZIMpsq1jmcKBlz1RkU4wDF436pgvS9DRwklhAPKovzsdO6KST96KgYKO
Exf4dT3uoSYD/LuBFvZZ+16OsQX2Lj+skDDKP1qI3Wgu7xnKHLo/xV0S/tmQv9Qo
0cSiaMlT5+Y4ZyvKwe2M4jbh2T+pS9wY4nHuHblX9thMxMDPM96HCoEzcBjKbHiE
NtoQ8lNgV3lQAqE98zTGesoXmex6b+u5Ok0pc0YbExbG0lANPW6lT5WIMF+ckRJv
xwJRvUn2jqChCsBANEFD8EKkDCsu8S1IuTcCXrCwBOocHGzEji7SfRkhpq0pk+W+
cb4T6DH9otbWDm1Egc7xTvpSyzkYSh6ADxycISM/K5GQjMUZI4TgQAK+8BCAga7V
DpC8Rt4U7kjeE6n3wDLjjXK6Fw/IlPU2fBuMtXqZAIDvVDBfXBu2+JiFReS3uasL
AtSsmwCzZHK3hmwDNt4G
=3QZi
-----END PGP SIGNATURE-----