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: | ||||
Davide Pesavento | 068a71d | 2018-03-15 00:52:34 -0400 | [diff] [blame^] | 86 | sources: ["llvm-toolchain-trusty-6.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 87 | packages: clang-6.0 |
Davide Pesavento | 068a71d | 2018-03-15 00:52:34 -0400 | [diff] [blame^] | 88 | - os: linux |
89 | env: COMPILER=clang++-7 | ||||
90 | addons: | ||||
91 | apt: | ||||
92 | sources: ["llvm-toolchain-trusty", "ubuntu-toolchain-r-test"] | ||||
93 | packages: clang-7 | ||||
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 94 | |
95 | # macOS/clang | ||||
Davide Pesavento | 068a71d | 2018-03-15 00:52:34 -0400 | [diff] [blame^] | 96 | # https://docs.travis-ci.com/user/reference/osx/#OS-X-Version |
Alexander Afanasyev | 6602b3b | 2016-03-15 14:14:11 -0700 | [diff] [blame] | 97 | - os: osx |
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 98 | osx_image: xcode7.3 |
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 99 | env: OSX_VERSION=10.11 |
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 100 | - os: osx |
101 | osx_image: xcode8.3 | ||||
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 102 | env: OSX_VERSION=10.12 |
Davide Pesavento | 6daf2a3 | 2017-10-17 16:28:18 -0400 | [diff] [blame] | 103 | - os: osx |
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 104 | osx_image: xcode9.2 |
105 | env: OSX_VERSION=10.12 | ||||
Davide Pesavento | 068a71d | 2018-03-15 00:52:34 -0400 | [diff] [blame^] | 106 | - os: osx |
107 | osx_image: xcode9.3beta | ||||
108 | env: OSX_VERSION=10.13 | ||||
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 109 | |
110 | allow_failures: | ||||
Davide Pesavento | 068a71d | 2018-03-15 00:52:34 -0400 | [diff] [blame^] | 111 | - env: COMPILER=clang++-7 |
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 112 | |
113 | fast_finish: true | ||||
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 114 | |
115 | before_script: | ||||
Davide Pesavento | 167040a | 2018-01-10 02:41:50 -0500 | [diff] [blame] | 116 | - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi |
117 | - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi | ||||
118 | - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi | ||||
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 119 | - ${CXX:-c++} --version |
Davide Pesavento | 8ca138d | 2017-08-10 21:36:30 -0400 | [diff] [blame] | 120 | - python --version |
Davide Pesavento | 9ac95d3 | 2017-07-01 01:51:37 -0400 | [diff] [blame] | 121 | |
Yi Huang | 71929b3 | 2014-01-29 21:47:09 -0700 | [diff] [blame] | 122 | script: |
Alexander Afanasyev | 4d4e725 | 2014-10-25 12:21:53 -0700 | [diff] [blame] | 123 | - ./.jenkins |