Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 1 | language: cpp |
| 2 | dist: trusty |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 3 | sudo: required |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 4 | env: |
| 5 | global: |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 6 | - BOOST_TEST_COLOR_OUTPUT=true |
Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 7 | - JOB_NAME=limited-build |
| 8 | - WAF_JOBS=2 |
| 9 | |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 10 | matrix: |
| 11 | include: |
Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 12 | # Linux/gcc |
| 13 | # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 14 | - os: linux |
Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 15 | env: COMPILER=g++-4.8 |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 16 | - os: linux |
Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 17 | env: COMPILER=g++-4.9 |
| 18 | addons: |
| 19 | apt: |
| 20 | sources: ubuntu-toolchain-r-test |
| 21 | packages: g++-4.9 |
| 22 | - os: linux |
| 23 | env: COMPILER=g++-5 |
| 24 | addons: |
| 25 | apt: |
| 26 | sources: ubuntu-toolchain-r-test |
| 27 | packages: g++-5 |
| 28 | - os: linux |
| 29 | env: COMPILER=g++-6 |
| 30 | addons: |
| 31 | apt: |
| 32 | sources: ubuntu-toolchain-r-test |
| 33 | packages: g++-6 |
| 34 | - os: linux |
| 35 | env: COMPILER=g++-7 |
| 36 | addons: |
| 37 | apt: |
| 38 | sources: ubuntu-toolchain-r-test |
| 39 | packages: g++-7 |
| 40 | |
| 41 | # Linux/clang |
| 42 | # https://apt.llvm.org/ |
| 43 | - os: linux |
| 44 | env: COMPILER=clang++-3.5 |
| 45 | addons: |
| 46 | apt: |
| 47 | packages: clang-3.5 |
| 48 | - os: linux |
| 49 | env: COMPILER=clang++-3.6 |
| 50 | addons: |
| 51 | apt: |
| 52 | packages: clang-3.6 |
| 53 | - os: linux |
| 54 | env: COMPILER=clang++-3.7 DISABLE_ASAN=yes |
| 55 | addons: |
| 56 | apt: |
| 57 | sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"] |
| 58 | packages: clang-3.7 |
| 59 | - os: linux |
| 60 | env: COMPILER=clang++-3.8 |
| 61 | addons: |
| 62 | apt: |
| 63 | sources: ["llvm-toolchain-precise-3.8", "ubuntu-toolchain-r-test"] |
| 64 | packages: clang-3.8 |
| 65 | - os: linux |
| 66 | env: COMPILER=clang++-3.9 DISABLE_ASAN=yes |
| 67 | addons: |
| 68 | apt: |
| 69 | sources: ["llvm-toolchain-trusty-3.9", "ubuntu-toolchain-r-test"] |
| 70 | packages: clang-3.9 |
| 71 | - os: linux |
| 72 | env: COMPILER=clang++-4.0 |
| 73 | addons: |
| 74 | apt: |
| 75 | sources: ["llvm-toolchain-trusty-4.0", "ubuntu-toolchain-r-test"] |
| 76 | packages: clang-4.0 |
| 77 | - os: linux |
| 78 | env: COMPILER=clang++-5.0 |
| 79 | addons: |
| 80 | apt: |
| 81 | sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] |
| 82 | packages: clang-5.0 |
| 83 | |
| 84 | # macOS/clang |
| 85 | # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 86 | - os: osx |
Davide Pesavento | 118a294 | 2018-01-21 22:34:24 -0500 | [diff] [blame] | 87 | osx_image: xcode7.3 |
| 88 | env: OSX_VERSION=10.11 |
| 89 | - os: osx |
| 90 | osx_image: xcode8.3 |
| 91 | env: OSX_VERSION=10.12 |
| 92 | - os: osx |
| 93 | osx_image: xcode9.2 |
| 94 | env: OSX_VERSION=10.12 |
| 95 | |
| 96 | before_script: |
| 97 | - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi |
| 98 | - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi |
| 99 | - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi |
| 100 | - ${CXX:-c++} --version |
| 101 | - python --version |
| 102 | |
Zhiyi Zhang | 8617a79 | 2017-01-17 16:45:56 -0800 | [diff] [blame] | 103 | script: |
| 104 | - ./.jenkins |