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 | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 39 | |
| 40 | # Linux/clang |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 41 | # https://apt.llvm.org/ |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 42 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 43 | env: COMPILER=clang++-3.5 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 44 | addons: |
| 45 | apt: |
| 46 | packages: clang-3.5 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 47 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 48 | env: COMPILER=clang++-3.6 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 49 | addons: |
| 50 | apt: |
| 51 | packages: clang-3.6 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 52 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 53 | env: COMPILER=clang++-3.7 DISABLE_ASAN=yes |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 54 | addons: |
| 55 | apt: |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 56 | sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 57 | packages: clang-3.7 |
Alexander Afanasyev | ce306ca | 2015-12-09 12:59:05 -0800 | [diff] [blame] | 58 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 59 | env: COMPILER=clang++-3.8 |
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.8", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 63 | packages: clang-3.8 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 64 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 65 | env: COMPILER=clang++-3.9 DISABLE_ASAN=yes |
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-trusty-3.9", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 69 | packages: clang-3.9 |
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++-4.0 |
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-4.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 75 | packages: clang-4.0 |
Davide Pesavento | bcf23a3 | 2017-09-12 16:45:59 -0400 | [diff] [blame] | 76 | - os: linux |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 77 | env: COMPILER=clang++-5.0 |
Davide Pesavento | bcf23a3 | 2017-09-12 16:45:59 -0400 | [diff] [blame] | 78 | addons: |
| 79 | apt: |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 80 | sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | bcf23a3 | 2017-09-12 16:45:59 -0400 | [diff] [blame] | 81 | packages: clang-5.0 |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 82 | - os: linux |
| 83 | env: COMPILER=clang++-6.0 |
| 84 | addons: |
| 85 | apt: |
Davide Pesavento | 8a8c01b | 2018-03-11 00:07:52 -0500 | [diff] [blame^] | 86 | sources: ["llvm-toolchain-trusty-6.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 87 | packages: clang-6.0 |
Davide Pesavento | 8a8c01b | 2018-03-11 00:07:52 -0500 | [diff] [blame^] | 88 | - os: linux |
| 89 | env: COMPILER=clang++-7.0 |
| 90 | addons: |
| 91 | apt: |
| 92 | sources: ["llvm-toolchain-trusty", "ubuntu-toolchain-r-test"] |
| 93 | packages: clang-7.0 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 94 | |
| 95 | # macOS/clang |
Davide Pesavento | 8a8c01b | 2018-03-11 00:07:52 -0500 | [diff] [blame^] | 96 | # https://docs.travis-ci.com/user/reference/osx/#OS-X-Version |
Alexander Afanasyev | ce306ca | 2015-12-09 12:59:05 -0800 | [diff] [blame] | 97 | - os: osx |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 98 | osx_image: xcode7.3 |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 99 | env: OSX_VERSION=10.11 |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 100 | - os: osx |
| 101 | osx_image: xcode8.3 |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 102 | env: OSX_VERSION=10.12 |
Davide Pesavento | 49650be | 2017-10-15 22:03:57 -0400 | [diff] [blame] | 103 | - os: osx |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 104 | osx_image: xcode9.2 |
| 105 | env: OSX_VERSION=10.12 |
| 106 | - os: osx |
| 107 | osx_image: xcode9.2 |
| 108 | env: OSX_VERSION=10.12 USE_OPENSSL_1_1=yes |
Davide Pesavento | 8a8c01b | 2018-03-11 00:07:52 -0500 | [diff] [blame^] | 109 | - os: osx |
| 110 | osx_image: xcode9.3beta |
| 111 | env: OSX_VERSION=10.13 |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 112 | |
| 113 | allow_failures: |
Davide Pesavento | 8a8c01b | 2018-03-11 00:07:52 -0500 | [diff] [blame^] | 114 | - env: COMPILER=clang++-7.0 |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 115 | - env: OSX_VERSION=10.12 USE_OPENSSL_1_1=yes |
| 116 | |
| 117 | fast_finish: true |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 118 | |
| 119 | before_script: |
Davide Pesavento | 9412d12 | 2018-01-02 21:52:09 -0500 | [diff] [blame] | 120 | - if [[ ${TRAVIS_OS_NAME} == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi |
| 121 | - if [[ ${TRAVIS_OS_NAME} == osx ]]; then export NODE_LABELS="OSX OSX-${OSX_VERSION}"; fi |
| 122 | - if [[ -n ${COMPILER} ]]; then export CXX=${COMPILER}; fi |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 123 | - ${CXX:-c++} --version |
Davide Pesavento | 364eeee | 2017-08-10 00:46:08 -0400 | [diff] [blame] | 124 | - python --version |
Davide Pesavento | 7143048 | 2017-06-08 20:06:40 -0400 | [diff] [blame] | 125 | |
Alexander Afanasyev | b4500d9 | 2014-01-17 20:43:24 -0800 | [diff] [blame] | 126 | script: |
Alexander Afanasyev | a87e0a8 | 2014-10-21 14:09:19 -0400 | [diff] [blame] | 127 | - ./.jenkins |