From 327b24a779740517ac1d7dee50eb4f0bb880ba02 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Mon, 9 Mar 2015 16:50:39 +0100 Subject: Install a recent gcc, gcov, cmake and ctest version The c pfw interface (following patch) needs a recent gcc to compile. Gcc and gcov version need to be align, thus gcov is updated too. Ctest analyse the gcov output, as a result it must be align with it (gcov 2.7 changed it's report format). Ctest, and cmake are packaged together. Conclusion: update cmake and gcc packages. Unfortunatly ubuntu backport does not provide a recent enough version, that is why ppa were used instead. Signed-off-by: Kevin Rocard --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index d5e8b75..e59ea79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,18 @@ compiler: - gcc # - clang # not supported yet -# install SWIG for bindings generation +# Install a recent gcc, gcov and cmake, +# it will not be necessary once travis worker is based on ubuntu > 12.04. +# Install SWIG for bindings generation before_install: + - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test + - sudo add-apt-repository --yes ppa:kalakris/cmake # Non official cmake backport - sudo apt-get update -qq - - sudo apt-get install -y swig + +install: + - sudo apt-get install --yes swig cmake g++-4.8 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100 + - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 100 # how to build script: -- cgit v1.1