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.
This commit is contained in:
zerodefect 2018-07-17 09:37:34 +01:00 committed by Michael van der Werve
parent 8c44850792
commit 3d33332c23
1 changed files with 15 additions and 1 deletions

View File

@ -37,6 +37,7 @@ matrix:
- CXXFLAGS=-std=c++11 - CXXFLAGS=-std=c++11
- os: linux - os: linux
compiler: gcc
env: env:
- COMPILER_PACKAGE=g++-6 - COMPILER_PACKAGE=g++-6
- C_COMPILER=gcc-6 - C_COMPILER=gcc-6
@ -48,6 +49,13 @@ matrix:
- COMPILER_PACKAGE=g++-7 - COMPILER_PACKAGE=g++-7
- C_COMPILER=gcc-7 - C_COMPILER=gcc-7
- CXX_COMPILER=g++-7 - CXX_COMPILER=g++-7
- os: linux
compiler: gcc
env:
- COMPILER_PACKAGE=g++-8
- C_COMPILER=gcc-8
- CXX_COMPILER=g++-8
################ ################
# Linux / Clang # Linux / Clang
@ -64,6 +72,12 @@ matrix:
- COMPILER_PACKAGE=clang-5.0 - COMPILER_PACKAGE=clang-5.0
- C_COMPILER=clang-5.0 - C_COMPILER=clang-5.0
- CXX_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: before_install:
@ -71,7 +85,7 @@ before_install:
- uname -a - uname -a
# Use an artful container - gives us access to latest compilers. # 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 - docker ps