aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-25 16:04:40 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-25 16:04:40 +0000
commit78a91a2d7ea7e8d9ccccab054939b99c9a02b11c (patch)
tree3f4fa9f0911fd91f686445cda2fdf626c862478d /.travis.yml
parentfixed the name of the directory (diff)
downloadmutator-78a91a2d7ea7e8d9ccccab054939b99c9a02b11c.tar.gz
mutator-78a91a2d7ea7e8d9ccccab054939b99c9a02b11c.zip
now we also download gcc4.9 to have support for regex when we run the tests
Diffstat (limited to '')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e8e692f..a290667 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,11 +24,14 @@ before_install:
before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
+ - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -y
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- travis_retry sudo apt-get install clang-4.0 libclang-4.0-dev libclang-common-4.0-dev libllvm4.0 llvm-4.0-dev llvm-4.0 -y
+ - sudo apt-get install gcc-4.9 g++-4.9
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
script: make CXX=clang-4.0 LLVM_CONF=llvm-config-4.0 BUILD_MODE=COV_NO_CLANG