2017-05-13 06:20:17 +00:00
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-02-19 06:47:34 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
|
|
|
env: COMPILER="g++-4.8" CXX_STANDARD=11
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- boost1.70
|
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
|
|
|
env: COMPILER="g++-4.9" CXX_STANDARD=11
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
|
|
|
- boost1.70
|
2017-05-17 00:23:52 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="g++-5" CXX_STANDARD=11
|
2017-05-17 00:23:52 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2017-05-17 00:23:52 +00:00
|
|
|
packages:
|
|
|
|
- g++-5
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="g++-6" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
|
|
|
- g++-6
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="g++-7" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
|
|
|
- g++-7
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="g++-8" CXX_STANDARD=11
|
2019-04-26 07:35:03 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-04-26 07:35:03 +00:00
|
|
|
packages:
|
|
|
|
- g++-8
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-04-26 07:35:03 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2019-09-04 04:37:08 +00:00
|
|
|
env: COMPILER="g++-8" CXX_STANDARD=11 TOML_HEAD=ON
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-09-04 04:37:08 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
2020-01-22 03:19:53 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
|
|
|
env: COMPILER="g++-8" CXX_STANDARD=14
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
2019-09-04 04:37:08 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-08-06 07:35:49 +00:00
|
|
|
env: COMPILER="g++-8" CXX_STANDARD=17 REQUIRE_FILESYSTEM_LIBRARY=ON
|
2019-09-04 04:37:08 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-09-04 04:37:08 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2020-08-06 07:35:49 +00:00
|
|
|
env: COMPILER="g++-8" CXX_STANDARD=17 TOML_HEAD=ON REQUIRE_FILESYSTEM_LIBRARY=ON
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
|
|
|
- g++-8
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2017-05-17 00:23:52 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-3.9" CXX_STANDARD=11
|
2017-05-17 00:23:52 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-3.9
|
2017-05-17 00:23:52 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-10-15 12:31:45 +00:00
|
|
|
- clang-3.9
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-4.0" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-4.0
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-03-14 13:58:44 +00:00
|
|
|
- clang-4.0
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-5.0" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-5.0
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-03-14 13:58:44 +00:00
|
|
|
- clang-5.0
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-6.0" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-6.0
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-03-14 13:58:44 +00:00
|
|
|
- clang-6.0
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-7" CXX_STANDARD=11
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-7
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-03-14 13:58:44 +00:00
|
|
|
- clang-7
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2019-03-14 13:58:44 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-01-08 14:17:38 +00:00
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=11
|
2019-09-04 04:37:08 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-09-04 04:37:08 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-8
|
2019-09-04 04:37:08 +00:00
|
|
|
packages:
|
|
|
|
- g++-8
|
|
|
|
- clang-8
|
|
|
|
- boost1.70
|
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=11 TOML_HEAD=ON
|
2019-04-26 07:35:03 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-8
|
2019-04-26 07:35:03 +00:00
|
|
|
packages:
|
2019-06-20 11:24:12 +00:00
|
|
|
- g++-8
|
2019-04-26 07:35:03 +00:00
|
|
|
- clang-8
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2020-01-22 03:19:53 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=14
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
- llvm-toolchain-trusty-8
|
|
|
|
packages:
|
|
|
|
- clang-8
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
2019-04-26 07:35:03 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-08-06 07:35:49 +00:00
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=17 REQUIRE_FILESYSTEM_LIBRARY=ON
|
2019-09-04 04:37:08 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-09-04 04:37:08 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-8
|
2019-09-04 04:37:08 +00:00
|
|
|
packages:
|
|
|
|
- clang-8
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2020-08-06 07:35:49 +00:00
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=17 TOML_HEAD=ON REQUIRE_FILESYSTEM_LIBRARY=ON
|
2019-03-14 13:58:44 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-10-15 11:32:09 +00:00
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
2019-06-20 11:00:56 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2019-10-15 12:31:45 +00:00
|
|
|
- llvm-toolchain-trusty-8
|
2019-03-14 13:58:44 +00:00
|
|
|
packages:
|
|
|
|
- clang-8
|
2019-04-27 05:46:40 +00:00
|
|
|
- g++-8
|
2019-06-20 11:13:16 +00:00
|
|
|
- boost1.70
|
2020-01-08 14:28:17 +00:00
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=11 WITH_ASAN=ON
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
- llvm-toolchain-trusty-8
|
|
|
|
packages:
|
|
|
|
- clang-8
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
|
|
|
- os: linux
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER="clang++-8" CXX_STANDARD=11 WITH_UBSAN=ON
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
|
|
|
- llvm-toolchain-trusty-8
|
|
|
|
packages:
|
|
|
|
- clang-8
|
|
|
|
- g++-8
|
|
|
|
- boost1.70
|
2017-05-17 00:23:52 +00:00
|
|
|
- os: osx
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2017-05-13 06:20:17 +00:00
|
|
|
|
|
|
|
script:
|
2019-04-26 07:35:03 +00:00
|
|
|
- |
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
|
|
mkdir -p cmake
|
2019-06-20 11:00:56 +00:00
|
|
|
travis_retry wget "https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz"
|
|
|
|
tar xf cmake-3.14.5-Linux-x86_64.tar.gz -C cmake --strip-components=1
|
2019-04-26 07:35:03 +00:00
|
|
|
export PATH=${TRAVIS_BUILD_DIR}/cmake/bin:${PATH}
|
|
|
|
fi
|
2020-03-22 11:40:02 +00:00
|
|
|
- |
|
|
|
|
if [[ "${CXX_STANDARD}" == "" ]]; then
|
|
|
|
export CXX_STANDARD="11"
|
|
|
|
fi
|
2020-01-08 14:17:38 +00:00
|
|
|
- |
|
|
|
|
if [[ "${TOML_HEAD}" != "ON" ]]; then
|
|
|
|
export TOML_HEAD="OFF"
|
|
|
|
fi
|
|
|
|
- echo "TOML_HEAD = ${TOML_HEAD}"
|
2020-01-08 14:28:17 +00:00
|
|
|
- |
|
|
|
|
if [[ "${WITH_ASAN}" != "ON" ]]; then
|
|
|
|
export WITH_ASAN="OFF"
|
|
|
|
fi
|
|
|
|
- echo "WITH_ASAN = ${WITH_ASAN}"
|
|
|
|
- |
|
|
|
|
if [[ "${WITH_UBSAN}" != "ON" ]]; then
|
|
|
|
export WITH_UBSAN="OFF"
|
|
|
|
fi
|
|
|
|
- echo "WITH_UBSAN = ${WITH_UBSAN}"
|
2020-08-06 07:35:49 +00:00
|
|
|
- echo "REQUIRE_FILESYSTEM_LIBRARY = ${REQUIRE_FILESYSTEM_LIBRARY}"
|
|
|
|
- |
|
|
|
|
if [[ "${REQUIRE_FILESYSTEM_LIBRARY}" != "ON" ]]; then
|
|
|
|
export REQUIRE_FILESYSTEM_LIBRARY="OFF"
|
|
|
|
fi
|
|
|
|
- echo "REQUIRE_FILESYSTEM_LIBRARY = ${REQUIRE_FILESYSTEM_LIBRARY}"
|
2019-04-26 07:35:03 +00:00
|
|
|
- cmake --version
|
2017-05-13 06:20:17 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-03-22 11:40:02 +00:00
|
|
|
- echo "COMPILER = ${COMPILER}"
|
|
|
|
- echo "CXX_STANDARD = ${CXX_STANDARD}"
|
2020-09-14 17:34:19 +00:00
|
|
|
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DTOML11_REQUIRE_FILESYSTEM_LIBRARY=${REQUIRE_FILESYSTEM_LIBRARY} -Dtoml11_BUILD_TEST=ON -DTOML11_USE_UNRELEASED_TOML_FEATURES=${TOML_HEAD} -Dtoml11_TEST_WITH_ASAN=${WITH_ASAN} -Dtoml11_TEST_WITH_UBSAN=${WITH_UBSAN} ..
|
2017-05-13 06:20:17 +00:00
|
|
|
- make
|
2017-12-11 03:12:22 +00:00
|
|
|
- ctest --output-on-failure
|