summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: