From a4eaaa56d14fd529fe7a05703f2c7c45b1dc5f68 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Mon, 26 Aug 2019 10:40:13 +0200 Subject: [PATCH] .travis.yml: Add gcc 9 and compile with experimental C++20 support --- .travis.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 484c9350d..7078fd092 100644 --- a/.travis.yml +++ b/.travis.yml @@ -204,13 +204,21 @@ matrix: - os: linux compiler: gcc - env: - - COMPILER=g++-8 - - CXXFLAGS=-std=c++17 + env: COMPILER=g++-9 addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-8', 'ninja-build'] + packages: ['g++-9', 'ninja-build'] + + - os: linux + compiler: gcc + env: + - COMPILER=g++-9 + - CXXFLAGS=-std=c++2a + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-9', 'ninja-build'] # Linux / Clang