Travis: Switch build container from xenial to bionic

This commit is contained in:
Lothar Braun 2020-04-10 15:24:37 +02:00
parent dc8608d5d0
commit d4c84e1576

View File

@ -1,3 +1,4 @@
dist: bionic
language: cpp language: cpp
cache: ccache cache: ccache
sudo: false sudo: false
@ -5,39 +6,40 @@ sudo: false
addons: addons:
apt: apt:
sources: &zeromq_source sources: &zeromq_source
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_gcc sources: &zeromq_source_and_toolchain_gcc
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_3-8
- llvm-toolchain-trusty-3.8
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_4-0 sources: &zeromq_source_and_toolchain_clang_4-0
- llvm-toolchain-trusty-4.0 - llvm-toolchain-4.0
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_5-0 sources: &zeromq_source_and_toolchain_clang_5-0
- llvm-toolchain-trusty-5.0 - llvm-toolchain-5.0
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_6-0 sources: &zeromq_source_and_toolchain_clang_6-0
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0 - llvm-toolchain-6.0
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_7 sources: &zeromq_source_and_toolchain_clang_7
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7 - llvm-toolchain-7
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_8 sources: &zeromq_source_and_toolchain_clang_8
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8 - llvm-toolchain-8
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./' - sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key' key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
sources: &zeromq_source_and_toolchain_clang_9
- ubuntu-toolchain-r-test
- llvm-toolchain-9
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_18.04/Release.key'
packages: &required_packages packages: &required_packages
- cmake - cmake
- libboost-dev - libboost-dev
@ -47,7 +49,7 @@ addons:
- libboost-thread-dev - libboost-thread-dev
- libxml2-dev - libxml2-dev
- libpcap-dev - libpcap-dev
- libsystemd-journal-dev - libsystemd-dev
- libsctp-dev - libsctp-dev
packages: &optional_packages packages: &optional_packages
- libssl-dev - libssl-dev
@ -95,16 +97,6 @@ matrix:
packages: packages:
- *required_packages - *required_packages
- *optional_packages - *optional_packages
- compiler: gcc-5
env:
- DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=gcc-5 CXX=g++-5"
addons:
apt:
sources: *zeromq_source_and_toolchain_gcc
packages:
- *required_packages
- *optional_packages
- g++-5
- compiler: gcc-6 - compiler: gcc-6
env: env:
- DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=gcc-6 CXX=g++-6" - DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
@ -154,16 +146,6 @@ matrix:
packages: packages:
- *required_packages - *required_packages
- *optional_packages - *optional_packages
- compiler: clang-3.8
env:
- DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
addons:
apt:
sources: *zeromq_source_and_toolchain_clang_3-8
packages:
- *required_packages
- *optional_packages
- clang-3.8
- compiler: clang-4.0 - compiler: clang-4.0
env: env:
- DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0" - DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
@ -214,6 +196,16 @@ matrix:
- *required_packages - *required_packages
- *optional_packages - *optional_packages
- clang-8 - clang-8
- compiler: clang-9
env:
- DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
addons:
apt:
sources: *zeromq_source_and_toolchain_clang_9
packages:
- *required_packages
- *optional_packages
- clang-9
# - stage: Static Analysis # - stage: Static Analysis
# env: # env:
# - DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-7 && CXX=clang++-7" # - DTLS="ON" ZMQ="ON" BUILD_TYPE="RelWithDebInfo" MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"