multiprecision/.travis.yml
2019-09-23 21:14:11 +01:00

791 lines
20 KiB
YAML

# Copyright 2016, 2017 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
language: cpp
sudo: false
python: "2.7"
dist : xenial
os:
- linux
- osx
branches:
only:
- master
- develop
env:
matrix:
- BOGUS_JOB=true
matrix:
exclude:
- env: BOGUS_JOB=true
include:
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=misc
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=misc
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=misc
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++03 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++11 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=gnu++14 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-6
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=misc
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-5
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=misc
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=gnu++17 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-8
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=conversions
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=misc
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=gnu++17 TEST_SUITE=concepts
addons:
apt:
packages:
- g++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=arithmetic_tests
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=cpp_int_tests
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=functions_and_limits
addons:
apt:
packages:
- clang++-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=conversions
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=misc
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE="compile_fail examples"
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: linux
env: TOOLSET=clang COMPILER=clang++-9 CXXSTD=c++17 TEST_SUITE=concepts
addons:
apt:
packages:
- clang-9
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- libmpfi-dev
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=arithmetic_tests
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=cpp_int_tests
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=functions_and_limits
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=conversions
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=misc
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE="compile_fail examples"
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=concepts
osx_image: xcode9.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=arithmetic_tests
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=cpp_int_tests
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=functions_and_limits
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=conversions
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=misc
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE="compile_fail examples"
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=concepts
osx_image: xcode8.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=arithmetic_tests
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=cpp_int_tests
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=functions_and_limits
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=conversions
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=misc
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE="compile_fail examples"
osx_image: xcode7.3
- os: osx
env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 TEST_SUITE=concepts
osx_image: xcode7.3
install:
- cd ..
- git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/build
- git submodule update --init libs/config
- git submodule update --init tools/boost_install
- git submodule update --init libs/headers
- git submodule update --init tools/boostdep
- cp -r $TRAVIS_BUILD_DIR/* libs/multiprecision
- python tools/boostdep/depinst/depinst.py multiprecision
- ./bootstrap.sh
- ./b2 headers
script:
- |-
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
- (cd libs/config/test && ../../../b2 config_info_travis_install toolset=$TOOLSET && ./config_info_travis)
- (cd libs/multiprecision/test && ../../../b2 -j3 toolset=$TOOLSET $TEST_SUITE define=CI_SUPPRESS_KNOWN_ISSUES define=SLOW_COMPILER)
notifications:
email:
on_success: always