Add GCC 8 and GCC 9 in the Travis CI build matrix

This commit is contained in:
Sébastien Rombauts 2019-06-24 21:46:02 +02:00
parent 49c1f6c08d
commit a637d24764

View File

@ -102,7 +102,7 @@ matrix:
- CC=gcc-5 - CC=gcc-5
- CXX=g++-5 - CXX=g++-5
- CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic" - CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic"
# gcc 6 std=c++14 # gcc 6.5 std=c++14 (default standard)
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -114,7 +114,7 @@ matrix:
- CC=gcc-6 - CC=gcc-6
- CXX=g++-6 - CXX=g++-6
- CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic"
# gcc 6 std=c++1z # gcc 6.5 std=c++1z
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -126,7 +126,7 @@ matrix:
- CC=gcc-6 - CC=gcc-6
- CXX=g++-6 - CXX=g++-6
- CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic" - CXXFLAGS="-std=c++1z -Wall -Wextra -pedantic"
# gcc 7 std=c++14 # gcc 7.4 std=c++14 (default standard)
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -138,7 +138,7 @@ matrix:
- CC=gcc-7 - CC=gcc-7
- CXX=g++-7 - CXX=g++-7
- CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic" - CXXFLAGS="-std=c++14 -Wall -Wextra -pedantic"
# gcc 7 std=c++1z # gcc 7.4 std=c++17
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -149,7 +149,80 @@ matrix:
env: env:
- CC=gcc-7 - CC=gcc-7
- CXX=g++-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 # clang default
- compiler: clang - compiler: clang
env: env: