From f8ac5fcfe2677922ac484bc9ab200564f9dcf6fc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 13 Mar 2015 21:04:03 +0100 Subject: [PATCH] travis: escape strings for YAML --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bd70116..fc01df70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,12 +5,12 @@ compiler: before_install: # The travis VMs run on Ubuntu 12.04 which is very old and a huge pain to get # 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 '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 -e "Package: libyajl*\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/02-yajl - - echo -e "Package: libxcb-image*\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/03-xcb-image + - "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 -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 -e \"Package: libyajl*\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/02-yajl" + - "echo -e \"Package: libxcb-image*\nPin: release n=trusty\nPin-Priority: 999\" | sudo tee /etc/apt/preferences.d/03-xcb-image" - sudo apt-get update - sudo apt-get install -t trusty libc6 libc6-dev - sudo apt-get install --no-install-recommends devscripts equivs