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