From 394e6b8c4c393cf2cf244b4f581b356ebfe2d19f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 12 Jul 2015 21:12:11 -0700 Subject: Modified .travis.yml to use new containerized build system. --- .travis.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 8e76f06..038dc85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +# Ensures that sudo is disabled, so that containerized builds are allowed +sudo: false + os: - linux - osx @@ -5,15 +8,18 @@ language: c compiler: - clang - gcc +addons: + apt: + # we need a more recent cmake than travis/linux provides (at least 2.8.9): + sources: + - ppa:kalakris/cmake + packages: + - cmake + - python3 + - valgrind before_install: - # we need a more recent cmake than travis/linux provides (at least 2.8.9): - | - if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ] - then - echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake - sudo apt-get update -qq - sudo apt-get install -qq cmake python3 valgrind - elif [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ] + if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ] then echo "Building without python3, to make sure that works." fi -- cgit v1.2.3