travis: fix pinning setup (newlines and YAML are complicated)
This commit is contained in:
parent
f8ac5fcfe2
commit
2cf40f4867
26
.travis.yml
26
.travis.yml
|
@ -7,10 +7,28 @@ before_install:
|
||||||
# into a state where we can build a recent version of i3 :(.
|
# into a state where we can build a recent version of i3 :(.
|
||||||
- "echo 'deb http://archive.ubuntu.com/ubuntu/ trusty main universe' | sudo tee /etc/apt/sources.list.d/trusty.list"
|
- "echo 'deb http://archive.ubuntu.com/ubuntu/ trusty main universe' | sudo tee /etc/apt/sources.list.d/trusty.list"
|
||||||
- "echo 'APT::Default-Release \"precise\";' | sudo tee /etc/apt/apt.conf.d/default-release"
|
- "echo 'APT::Default-Release \"precise\";' | sudo tee /etc/apt/apt.conf.d/default-release"
|
||||||
- "echo -e \"Package: libc6\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/00-libc6"
|
|
||||||
- "echo -e \"Package: libxkbcommon*\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/01-xkbcommon"
|
- "echo 'Package: libc6' > /tmp/pin"
|
||||||
- "echo -e \"Package: libyajl*\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/02-yajl"
|
- "echo 'Pin: release n=trusty' >> /tmp/pin"
|
||||||
- "echo -e \"Package: libxcb-image*\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/03-xcb-image"
|
- "echo 'Pin-Priority: 999' >> /tmp/pin"
|
||||||
|
- "echo '' >> /tmp/pin"
|
||||||
|
|
||||||
|
- "echo 'Package: libxkbcommon*' >> /tmp/pin"
|
||||||
|
- "echo 'Pin: release n=trusty' >> /tmp/pin"
|
||||||
|
- "echo 'Pin-Priority: 999' >> /tmp/pin"
|
||||||
|
- "echo '' >> /tmp/pin"
|
||||||
|
|
||||||
|
- "echo 'Package: libyajl*' >> /tmp/pin"
|
||||||
|
- "echo 'Pin: release n=trusty' >> /tmp/pin"
|
||||||
|
- "echo 'Pin-Priority: 999' >> /tmp/pin"
|
||||||
|
- "echo '' >> /tmp/pin"
|
||||||
|
|
||||||
|
- "echo 'Package: libxcb-image*' >> /tmp/pin"
|
||||||
|
- "echo 'Pin: release n=trusty' >> /tmp/pin"
|
||||||
|
- "echo 'Pin-Priority: 999' >> /tmp/pin"
|
||||||
|
- "echo '' >> /tmp/pin"
|
||||||
|
|
||||||
|
- sudo cp /tmp/pin /etc/apt/preferences.d/trustypin
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -t trusty libc6 libc6-dev
|
- sudo apt-get install -t trusty libc6 libc6-dev
|
||||||
- sudo apt-get install --no-install-recommends devscripts equivs
|
- sudo apt-get install --no-install-recommends devscripts equivs
|
||||||
|
|
Loading…
Reference in New Issue