From f20a0448370ed10e8011b569400c935f260f962e Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 15 Feb 2016 19:46:10 +0000 Subject: [PATCH] CI: Use Ubuntu Trusty for Travis builds. Trusty has newer software and most importantly GCC with proper C++11 support, not just C++0x. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 88dd16e3..5daea078 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,10 @@ language: c os: - linux - osx +sudo: required +dist: trusty install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:smspillaz/cmake-master; sudo add-apt-repository -y ppa:ondrej/php5; sudo apt-get update -qq; sudo apt-get install -q -y cmake cmake-data libpng12-dev zlib1g-dev libjson0-dev libfontconfig1-dev libgtkmm-2.4-dev libpangomm-1.4-dev libgl1-mesa-dev libglu-dev libglew-dev libfreetype6-dev dpkg-dev; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; sudo apt-get install -q -y cmake cmake-data libpng12-dev zlib1g-dev libjson0-dev libfontconfig1-dev libgtkmm-2.4-dev libpangomm-1.4-dev libgl1-mesa-dev libglu-dev libglew-dev libfreetype6-dev dpkg-dev; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade cmake libpng; fi script: - mkdir cbuild