From a015b78e81c859b88840cb0cd4001ce1fe5e7865 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 28 Jul 2019 21:46:32 +0200 Subject: [PATCH 1/2] :lock: add security policy --- .github/SECURITY.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/SECURITY.md diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 00000000..4d010ebd --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,5 @@ +# Security Policy + +## Reporting a Vulnerability + +Usually, all issues are tracked publicly on [GitHub](https://github.com/nlohmann/json/issues). If you want to make a private report (e.g., for a vulnerability or to attach an example that is not meant to be published), please send an email to . You can use [this key](https://keybase.io/nlohmann/pgp_keys.asc?fingerprint=797167ae41c0a6d9232e48457f3cea63ae251b69) for encryption. From a4eaaa56d14fd529fe7a05703f2c7c45b1dc5f68 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Mon, 26 Aug 2019 10:40:13 +0200 Subject: [PATCH 2/2] .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 484c9350..7078fd09 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