From 3d33332c23935b065226051fe3e47bc9a1b00272 Mon Sep 17 00:00:00 2001 From: zerodefect Date: Tue, 17 Jul 2018 09:37:34 +0100 Subject: [PATCH] Contint with gcc8/clang6 and Ubuntu Bionic LTS (#236) * Updated container to bionic / added support for gcc-8. * Specify compiler for gcc-6 * Added support for clang 6. --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 49caa01..d6dcdce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ matrix: - CXXFLAGS=-std=c++11 - os: linux + compiler: gcc env: - COMPILER_PACKAGE=g++-6 - C_COMPILER=gcc-6 @@ -48,6 +49,13 @@ matrix: - COMPILER_PACKAGE=g++-7 - C_COMPILER=gcc-7 - CXX_COMPILER=g++-7 + + - os: linux + compiler: gcc + env: + - COMPILER_PACKAGE=g++-8 + - C_COMPILER=gcc-8 + - CXX_COMPILER=g++-8 ################ # Linux / Clang @@ -64,6 +72,12 @@ matrix: - COMPILER_PACKAGE=clang-5.0 - C_COMPILER=clang-5.0 - CXX_COMPILER=clang++-5.0 + + - os: linux + env: + - COMPILER_PACKAGE=clang-6.0 + - C_COMPILER=clang-6.0 + - CXX_COMPILER=clang++-6.0 before_install: @@ -71,7 +85,7 @@ before_install: - uname -a # Use an artful container - gives us access to latest compilers. - - docker run -d --name ubuntu-test-container -v $(pwd):/travis ubuntu:artful tail -f /dev/null + - docker run -d --name ubuntu-test-container -v $(pwd):/travis ubuntu:bionic tail -f /dev/null - docker ps