toml11/.travis.yml

237 lines
5.7 KiB
YAML
Raw Normal View History

2017-05-13 06:20:17 +00:00
dist: trusty
matrix:
include:
2017-05-17 00:23:52 +00:00
- os: linux
language: cpp
compiler: gcc
env: COMPILER="g++-5" CXX_STANDARD=11 TOML_HEAD=OFF
2017-05-17 00:23:52 +00:00
addons:
apt:
sources:
- 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
env: COMPILER="g++-6" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- 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
env: COMPILER="g++-7" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- 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
env: COMPILER="g++-8" CXX_STANDARD=11 TOML_HEAD=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- g++-8
2019-06-20 11:13:16 +00:00
- boost1.70
- os: linux
language: cpp
compiler: gcc
env: COMPILER="g++-8" CXX_STANDARD=11 TOML_HEAD=ON
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- g++-8
- boost1.70
- os: linux
language: cpp
compiler: gcc
env: COMPILER="g++-8" CXX_STANDARD=17 TOML_HEAD=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- g++-8
- boost1.70
- os: linux
language: cpp
compiler: gcc
env: COMPILER="g++-8" CXX_STANDARD=17 TOML_HEAD=ON
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- 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
env: COMPILER="clang++-3.7" CXX_STANDARD=11 TOML_HEAD=OFF
2017-05-17 00:23:52 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
2017-05-17 00:23:52 +00:00
packages:
2019-06-20 11:24:12 +00:00
- g++-8
2017-05-17 00:23:52 +00:00
- clang-3.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
env: COMPILER="clang++-4.0" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
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
env: COMPILER="clang++-5.0" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
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
env: COMPILER="clang++-6.0" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
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
env: COMPILER="clang++-7" CXX_STANDARD=11 TOML_HEAD=OFF
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
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
env: COMPILER="clang++-8" CXX_STANDARD=11 TOML_HEAD=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- g++-8
- clang-8
- boost1.70
- os: linux
language: cpp
compiler: clang
env: COMPILER="clang++-8" CXX_STANDARD=11 TOML_HEAD=ON
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
packages:
2019-06-20 11:24:12 +00:00
- g++-8
- clang-8
2019-06-20 11:13:16 +00:00
- boost1.70
- os: linux
language: cpp
compiler: clang
env: COMPILER="clang++-8" CXX_STANDARD=17 TOML_HEAD=OFF
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- clang-8
- g++-8
- boost1.70
- os: linux
language: cpp
compiler: clang
env: COMPILER="clang++-8" CXX_STANDARD=17 TOML_HEAD=ON
2019-03-14 13:58:44 +00:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-8
2019-06-20 11:00:56 +00:00
- sourceline: 'ppa:mhier/libboost-latest'
2019-03-14 13:58:44 +00:00
packages:
- clang-8
- g++-8
2019-06-20 11:13:16 +00:00
- boost1.70
2017-05-17 00:23:52 +00:00
- os: osx
language: cpp
compiler: clang
env: CXX_STANDARD=11
2017-05-13 06:20:17 +00:00
script:
- |
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
export PATH=${TRAVIS_BUILD_DIR}/cmake/bin:${PATH}
else
2019-06-20 11:00:56 +00:00
brew upgrade cmake boost
fi
- cmake --version
2017-05-13 06:20:17 +00:00
- mkdir build
- cd build
- git clone https://github.com/toml-lang/toml.git
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_CXX_STANDARD=$CXX_STANDARD -DTOML11_USE_UNRELEASED_TOML_FEATURES=${TOML_HEAD} ..
2017-05-13 06:20:17 +00:00
- make
2017-12-11 03:12:22 +00:00
- ctest --output-on-failure