From c94f4f5ec767a8c35e31318cc08b1a8ebf566a45 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 29 Jun 2015 15:06:19 +0100 Subject: [PATCH] Use Travis' container-based infrastructure. Since it now supports whitelisted APT repositories and packages, which include those LOOT needs. --- .travis.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a46d030..82e0cac9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,24 @@ +sudo: false language: cpp compiler: - gcc cache: apt -before_install: - # Need Boost 1.54+, which isn't in the 12.04 repositories - install from a PPA. - # Also need the OpenSSL dev package, for git clone from HTTPS URLs support. - - sudo add-apt-repository ppa:boost-latest/ppa -y - - sudo apt-get update -qq - - sudo apt-get install libboost-log1.55-dev libboost-date-time1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-locale1.55-dev libboost-iostreams1.55-dev libssl-dev +# Need Boost 1.54+, which isn't in the 12.04 repositories - install from a PPA. +# Also need the OpenSSL dev package, for git clone from HTTPS URLs support. +addons: + apt: + sources: + - boost-latest + packages: + - libboost-log1.55-dev + - libboost-date-time1.55-dev + - libboost-thread1.55-dev + - libboost-filesystem1.55-dev + - libboost-locale1.55-dev + - libboost-iostreams1.55-dev + - libssl-dev install: # Currently inside the cloned repo path.