From 2b9f93b77206e20235eb0482d208f4737c2c7c13 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Fri, 7 Sep 2018 09:50:39 +0200 Subject: [PATCH] Travis CI gcc version --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index b411c624..546d871f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,20 @@ language: cpp sudo: required os: linux dist: trusty +matrix: + include: + # works on Precise and Trusty + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-7 + env: + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" +before_install: + - eval "${MATRIX_EVAL}" compiler: - clang - gcc