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