From 6b9fc48923db1f7cb4f0e77c114fc4db4b4c7ed0 Mon Sep 17 00:00:00 2001 From: Michael van der Werve Date: Thu, 15 Oct 2020 10:26:07 +0200 Subject: [PATCH] update travisfile, newer compilers and newer build OS --- .travis.yml | 58 +++++++++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/.travis.yml b/.travis.yml index d1e4e0e2..d6b2cd44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,21 +28,6 @@ matrix: # Linux / GCC ################ - - os: linux - compiler: gcc - env: - - COMPILER_PACKAGE=g++-5 - - C_COMPILER=gcc-5 - - CXX_COMPILER=g++-5 - - CXXFLAGS=-std=c++11 - - - os: linux - compiler: gcc - env: - - COMPILER_PACKAGE=g++-6 - - C_COMPILER=gcc-6 - - CXX_COMPILER=g++-6 - - os: linux compiler: gcc env: @@ -57,27 +42,48 @@ matrix: - C_COMPILER=gcc-8 - CXX_COMPILER=g++-8 + - os: linux + compiler: gcc + env: + - COMPILER_PACKAGE=g++-9 + - C_COMPILER=gcc-9 + - CXX_COMPILER=g++-9 + + - os: linux + compiler: gcc + env: + - COMPILER_PACKAGE=g++-10 + - C_COMPILER=gcc-10 + - CXX_COMPILER=g++-10 + + ################ # Linux / Clang ################ - os: linux env: - - COMPILER_PACKAGE=clang-4.0 - - C_COMPILER=clang-4.0 - - CXX_COMPILER=clang++-4.0 + - COMPILER_PACKAGE=clang-7 + - C_COMPILER=clang-7 + - CXX_COMPILER=clang++-7 - os: linux env: - - COMPILER_PACKAGE=clang-5.0 - - C_COMPILER=clang-5.0 - - CXX_COMPILER=clang++-5.0 - + - COMPILER_PACKAGE=clang-8 + - C_COMPILER=clang-8 + - CXX_COMPILER=clang++-8 + + - os: linux + env: + - COMPILER_PACKAGE=clang-9 + - C_COMPILER=clang-9 + - CXX_COMPILER=clang++-9 + - os: linux env: - - COMPILER_PACKAGE=clang-6.0 - - C_COMPILER=clang-6.0 - - CXX_COMPILER=clang++-6.0 + - COMPILER_PACKAGE=clang-10 + - C_COMPILER=clang-10 + - CXX_COMPILER=clang++-10 before_install: @@ -85,7 +91,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:bionic tail -f /dev/null + - docker run -e "DEBIAN_FRONTEND=noninteractive" -d --name ubuntu-test-container -v $(pwd):/travis ubuntu:bionic tail -f /dev/null - docker ps