Travis - upgrade to GCC 9 and Clang 9

Use latest and greatest compilers in the toolchain.
This commit is contained in:
triplus
2019-11-27 09:56:08 +01:00
committed by wwmayer
parent df8e09196d
commit f6f9d15917

View File

@@ -47,10 +47,36 @@ matrix:
- os: linux
dist: bionic
compiler: clang
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-9
env:
- CC=clang-9
- CXX=clang++-9
- CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON"
- PYTHON_MAJOR_VERSION=3
# - os: linux
# dist: bionic
# compiler: gcc
# addons:
# apt:
# sources:
# - sourceline: 'ppa:ubuntu-toolchain-r/test'
# packages:
# - gcc-9
# - g++-9
# env:
# - CC=gcc-9
# - CXX=g++-9
# - CMAKE_OPTS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON"
# - PYTHON_MAJOR_VERSION=3
- os: linux
dist: bionic
compiler: gcc