1language: cpp 2dist: trusty 3sudo: false 4 5os: linux 6 7git: 8 depth: 1 9 10env: 11 global: 12 - secure: |- 13 a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I 14 5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO 15 o1F2EwFbiso0EmtzhAPs19ujiVxkLn4= 16 17matrix: 18 include: 19 # Documentation 20 - env: BUILD=Doc 21 sudo: required 22 # g++ 6 on Linux with C++14 23 - env: COMPILER=g++-6 BUILD=Debug STANDARD=14 24 compiler: gcc 25 addons: 26 apt: 27 update: true 28 sources: 29 - ubuntu-toolchain-r-test 30 packages: 31 - g++-6 32 - env: COMPILER=g++-6 BUILD=Release STANDARD=14 33 compiler: gcc 34 addons: 35 apt: 36 update: true 37 sources: 38 - ubuntu-toolchain-r-test 39 packages: 40 - g++-6 41 # g++ 8 on Linux with C++17 42 - env: COMPILER=g++-8 BUILD=Debug STANDARD=17 43 compiler: gcc 44 addons: 45 apt: 46 update: true 47 sources: 48 - ubuntu-toolchain-r-test 49 packages: 50 - g++-8 51 - env: COMPILER=g++-8 BUILD=Release STANDARD=17 52 compiler: gcc 53 addons: 54 apt: 55 update: true 56 sources: 57 - ubuntu-toolchain-r-test 58 packages: 59 - g++-8 60 61 # Apple clang on OS X with C++14 62 - env: BUILD=Debug STANDARD=14 63 compiler: clang 64 os: osx 65 - env: BUILD=Release STANDARD=14 66 compiler: clang 67 os: osx 68 # clang 6.0 on Linux with C++14 (builds the fuzzers as well) 69 - env: COMPILER=clang++-6.0 BUILD=Debug STANDARD=14 ENABLE_FUZZING=1 70 compiler: clang 71 addons: 72 apt: 73 update: true 74 packages: 75 - clang-6.0 76 sources: 77 - ubuntu-toolchain-r-test 78 - llvm-toolchain-trusty 79 - llvm-toolchain-trusty-6.0 80 # clang 4.0 on Linux with C++14 81 - env: COMPILER=clang++-4.0 BUILD=Debug STANDARD=11 82 compiler: clang 83 addons: 84 apt: 85 update: true 86 packages: 87 - clang-4.0 88 sources: 89 - ubuntu-toolchain-r-test 90 - llvm-toolchain-trusty 91 - llvm-toolchain-trusty-4.0 92 # g++ 4.8 on Linux with C++11 93 - env: COMPILER=g++-4.8 BUILD=Debug STANDARD=11 94 compiler: gcc 95 96before_script: 97 - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi 98 - if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi 99 100script: 101 - support/travis-build.py 102