summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rocard <kevin.rocard@intel.com>2015-03-09 16:50:39 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:32:47 -0700
commit327b24a779740517ac1d7dee50eb4f0bb880ba02 (patch)
tree45fc322de6fab8551dbcde6f3fcf1f59b480d8f6
parentd52ee1bfecc6e76caa280f54032e829cc22392cf (diff)
downloadexternal_parameter-framework-327b24a779740517ac1d7dee50eb4f0bb880ba02.zip
external_parameter-framework-327b24a779740517ac1d7dee50eb4f0bb880ba02.tar.gz
external_parameter-framework-327b24a779740517ac1d7dee50eb4f0bb880ba02.tar.bz2
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 <kevin.rocard@intel.com>
-rw-r--r--.travis.yml12
1 files changed, 10 insertions, 2 deletions
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: