summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLevi Pearson <levi.pearson@harman.com>2016-09-14 11:18:18 -0600
committerLevi Pearson <levi.pearson@harman.com>2016-09-21 19:49:58 -0600
commitf0509e81bf5f367f43f4f1624695d046e1e419e9 (patch)
tree69b1ed975b148524266f1e1ad00e13fcb6f3ecb3 /.travis.yml
parent76850a08783fb5c2d88bd0fd7928cfecc2fb6bce (diff)
downloadOpen-AVB-f0509e81bf5f367f43f4f1624695d046e1e419e9.tar.gz
Fix compiler warnings in mrpd tests
When switching CPPUTest to C++11, some warnings appeared regarding implicit casting of string literals to (char *). This is deprecated in C++ now.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f06e4416..c57acc44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,17 @@ git:
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- - sudo apt-get install doxygen graphviz
+ - sudo apt-get install doxygen graphviz gcc-4.8 g++-4.8
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 10
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 10
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
+ - sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
+ - sudo update-alternatives --set cc /usr/bin/gcc
+ - sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
+ - sudo update-alternatives --set c++ /usr/bin/g++
compiler:
- gcc
env: BUILD_KERNEL=3.13.0-36-generic