Merge pull request #1724 from t-b/enhance-travis

Add gcc 9 and compile with experimental C++20 support
This commit is contained in:
Niels Lohmann 2019-08-27 19:57:23 +02:00 committed by GitHub
commit 7dccfa5355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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