From 20b28cd7a925394cf4db35fee5ad9c9603c0eaae Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Fri, 21 Oct 2016 23:15:46 +0300 Subject: [PATCH] Set modern compiler for travis --- .travis.yml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d4acd7..c49fdd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,34 @@ sudo: required dist: trusty language: cpp cache: ccache -compiler: - - clang - - gcc +matrix: + include: + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-5 + env: COMPILER=g++-5 + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-precise-3.6 + packages: + - clang-3.6 + env: COMPILER=clang++-3.6 + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-precise-3.7 + packages: + - clang-3.7 + env: COMPILER=clang++-3.7 script: - mkdir build - cd build @@ -21,12 +46,8 @@ addons: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 packages: - cmake - cmake-data - - gcc-5 - - g++-5 - - clang-3.7