From c3a2a402687d0efb36f51074d3edefa4b2a4d01f Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Thu, 8 Sep 2016 21:40:17 +0200 Subject: [PATCH] use more recent gcc in travis --- .travis.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa28c97..97fc4b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,12 @@ env: - secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8=" before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq cmake libfuse-dev libgettextpo-dev - - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- + - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca + # - sudo apt-get update -qq + #- sudo apt-get install -qq cmake libfuse-dev libgettextpo-dev + +install: + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi before_script: - mkdir build @@ -38,4 +41,14 @@ addons: build_command_prepend: "cd build && make clean" build_command: "make -j 4" branch_pattern: coverity_scan + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + - clang + - cmake + - libfuse-dev + - libgettextpo-dev