Unverified Commit ff527715 authored by Dennis Jenkins's avatar Dennis Jenkins Committed by GitHub

Merge pull request #702 from kiplingw/kip-travis-multi-cpu-arch

Tell Travis to build on all of its supported CPU architectures.
parents 3e716b45 db2b7fa3
language: cpp language: cpp
dist: trusty dist: bionic
sudo: true sudo: true
branches: branches:
only: only:
- master - master
arch:
- amd64
- ppc64le
- s390x
- arm64
matrix: matrix:
include: include:
# Linux clang builds # Linux clang builds
...@@ -19,7 +25,7 @@ matrix: ...@@ -19,7 +25,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0'] sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
packages: [ 'cmake', 'clang-4.0', 'llvm-4.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ] packages: [ 'apport', 'cmake', 'clang-4.0', 'llvm-4.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ]
- os: linux - os: linux
compiler: clang compiler: clang
...@@ -30,7 +36,7 @@ matrix: ...@@ -30,7 +36,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0'] sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0']
packages: [ 'cmake', 'clang-5.0', 'llvm-5.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ] packages: [ 'apport', 'cmake', 'clang-5.0', 'llvm-5.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ]
- os: linux - os: linux
compiler: clang compiler: clang
...@@ -41,7 +47,7 @@ matrix: ...@@ -41,7 +47,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-6.0'] sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-6.0']
packages: [ 'cmake', 'clang-6.0', 'llvm-6.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ] packages: [ 'apport', 'cmake', 'clang-6.0', 'llvm-6.0-tools', 'libstdc++-6-dev', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck' ]
# Linux GCC builds # Linux GCC builds
- os: linux - os: linux
...@@ -53,7 +59,7 @@ matrix: ...@@ -53,7 +59,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck'] packages: ['apport', 'g++-7', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck']
- os: linux - os: linux
compiler: gcc compiler: gcc
...@@ -64,7 +70,7 @@ matrix: ...@@ -64,7 +70,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-8', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck'] packages: ['apport', 'g++-8', 'libssl-dev', 'libcurl4-openssl-dev', 'gdb', 'lcov', 'cppcheck']
install: install:
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
...@@ -81,7 +87,7 @@ before_script: ...@@ -81,7 +87,7 @@ before_script:
# Print debug system information # Print debug system information
- cat /proc/sys/kernel/core_pattern - cat /proc/sys/kernel/core_pattern
- cat /etc/default/apport - cat /etc/default/apport || true
- service --status-all || true - service --status-all || true
- initctl list || true - initctl list || true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment