From a637d247642404ebf9fef0c98d9472d33f4e8435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Mon, 24 Jun 2019 21:46:02 +0200 Subject: [PATCH] Add GCC 8 and GCC 9 in the Travis CI build matrix --- .travis.yml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 78 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 402e075..ac59605 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,7 +102,7 @@ matrix: - CC=gcc-5 - CXX=g++-5 - CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic" - # gcc 6 std=c++14 + # gcc 6.5 std=c++14 (default standard) - compiler: gcc addons: apt: @@ -114,7 +114,7 @@ matrix: - CC=gcc-6 - CXX=g++-6 - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" - # gcc 6 std=c++1z + # gcc 6.5 std=c++1z - compiler: gcc addons: apt: @@ -126,7 +126,7 @@ matrix: - CC=gcc-6 - CXX=g++-6 - CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic" - # gcc 7 std=c++14 + # gcc 7.4 std=c++14 (default standard) - compiler: gcc addons: apt: @@ -138,7 +138,7 @@ matrix: - CC=gcc-7 - CXX=g++-7 - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" - # gcc 7 std=c++1z + # gcc 7.4 std=c++17 - compiler: gcc addons: apt: @@ -149,7 +149,80 @@ matrix: env: - CC=gcc-7 - CXX=g++-7 - - CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic" + - CXXFLAGS="-std=c++17 -Wall -Wextra -pedantic" + # gcc 8 std=c++14 (default standard) + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-8 + env: + - CC=gcc-8 + - CXX=g++-8 + - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" + # gcc 8 std=c++17 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-8 + env: + - CC=gcc-8 + - CXX=g++-8 + - CXXFLAGS="-std=c++17 -Wall -Wextra -pedantic" + # gcc 8 std=c++2a + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-8 + env: + - CC=gcc-8 + - CXX=g++-8 + - CXXFLAGS="-std=c++2a -Wall -Wextra -pedantic" + # gcc 9 std=c++14 (default standard) + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-9 + env: + - CC=gcc-9 + - CXX=g++-9 + - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" +# TODO: issue with ExecuteMany and Bind helper function +# # gcc 9 std=c++17 +# - compiler: gcc +# addons: +# apt: +# sources: +# - ubuntu-toolchain-r-test +# packages: +# - g++-9 +# env: +# - CC=gcc-9 +# - CXX=g++-9 +# - CXXFLAGS="-std=c++17 -Wall -Wextra -pedantic" +# # gcc 9 std=c++2a +# - compiler: gcc +# addons: +# apt: +# sources: +# - ubuntu-toolchain-r-test +# packages: +# - g++-9 +# env: +# - CC=gcc-9 +# - CXX=g++-9 +# - CXXFLAGS="-std=c++2a -Wall -Wextra -pedantic" # clang default - compiler: clang env: