Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 1 | language: cpp |
| 2 | dist: trusty |
Davide Pesavento | 4a1edc6 | 2016-05-03 18:03:19 +0200 | [diff] [blame] | 3 | sudo: required |
Eric Newberry | 9737aa8 | 2016-12-27 23:03:49 -0700 | [diff] [blame] | 4 | env: |
| 5 | global: |
| 6 | - JOB_NAME=limited-build |
Davide Pesavento | 44660cf | 2017-08-16 00:44:23 -0400 | [diff] [blame] | 7 | - WAF_JOBS=2 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 8 | |
Alexander Afanasyev | 8a3081f | 2015-08-31 13:27:15 -0700 | [diff] [blame] | 9 | matrix: |
Davide Pesavento | 4a1edc6 | 2016-05-03 18:03:19 +0200 | [diff] [blame] | 10 | include: |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 11 | # Linux/gcc |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 12 | # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages |
Alexander Afanasyev | 8a3081f | 2015-08-31 13:27:15 -0700 | [diff] [blame] | 13 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 14 | env: COMPILER=g++-4.8 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 15 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 16 | env: COMPILER=g++-4.9 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 17 | addons: |
| 18 | apt: |
| 19 | sources: ubuntu-toolchain-r-test |
| 20 | packages: g++-4.9 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 21 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 22 | env: COMPILER=g++-5 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 23 | addons: |
| 24 | apt: |
| 25 | sources: ubuntu-toolchain-r-test |
| 26 | packages: g++-5 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 27 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 28 | env: COMPILER=g++-6 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 29 | addons: |
| 30 | apt: |
| 31 | sources: ubuntu-toolchain-r-test |
| 32 | packages: g++-6 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 33 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 34 | env: COMPILER=g++-7 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 35 | addons: |
| 36 | apt: |
| 37 | sources: ubuntu-toolchain-r-test |
| 38 | packages: g++-7 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 39 | |
| 40 | # Linux/clang |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 41 | # https://apt.llvm.org/ |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 42 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 43 | env: COMPILER=clang++-3.5 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 44 | addons: |
| 45 | apt: |
| 46 | packages: clang-3.5 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 47 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 48 | env: COMPILER=clang++-3.6 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 49 | addons: |
| 50 | apt: |
| 51 | packages: clang-3.6 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 52 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 53 | env: COMPILER=clang++-3.7 DISABLE_ASAN=yes |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 54 | addons: |
| 55 | apt: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 56 | sources: ["llvm-toolchain-precise-3.7", "ubuntu-toolchain-r-test"] |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 57 | packages: clang-3.7 |
Davide Pesavento | 4a1edc6 | 2016-05-03 18:03:19 +0200 | [diff] [blame] | 58 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 59 | env: COMPILER=clang++-3.8 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 60 | addons: |
| 61 | apt: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 62 | sources: ["llvm-toolchain-precise-3.8", "ubuntu-toolchain-r-test"] |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 63 | packages: clang-3.8 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 64 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 65 | env: COMPILER=clang++-3.9 DISABLE_ASAN=yes |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 66 | addons: |
| 67 | apt: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 68 | sources: ["llvm-toolchain-trusty-3.9", "ubuntu-toolchain-r-test"] |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 69 | packages: clang-3.9 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 70 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 71 | env: COMPILER=clang++-4.0 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 72 | addons: |
| 73 | apt: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 74 | sources: ["llvm-toolchain-trusty-4.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 75 | packages: clang-4.0 |
Davide Pesavento | b5e06e6 | 2017-09-15 22:30:01 -0400 | [diff] [blame] | 76 | - os: linux |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 77 | env: COMPILER=clang++-5.0 |
Davide Pesavento | b5e06e6 | 2017-09-15 22:30:01 -0400 | [diff] [blame] | 78 | addons: |
| 79 | apt: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 80 | sources: ["llvm-toolchain-trusty-5.0", "ubuntu-toolchain-r-test"] |
Davide Pesavento | b5e06e6 | 2017-09-15 22:30:01 -0400 | [diff] [blame] | 81 | packages: clang-5.0 |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -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 | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 88 | |
| 89 | # macOS/clang |
| 90 | # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version |
Alexander Afanasyev | 8a3081f | 2015-08-31 13:27:15 -0700 | [diff] [blame] | 91 | - os: osx |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 92 | osx_image: xcode7.3 |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 93 | env: OSX_VERSION=10.11 |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 94 | - os: osx |
| 95 | osx_image: xcode8.3 |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -0500 | [diff] [blame] | 96 | env: OSX_VERSION=10.12 |
Davide Pesavento | 1928024 | 2017-10-19 01:30:33 -0400 | [diff] [blame] | 97 | - os: osx |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -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 | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 105 | |
| 106 | before_script: |
Davide Pesavento | 9a659d0 | 2018-01-10 02:55:43 -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 | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 110 | - ${CXX:-c++} --version |
Davide Pesavento | 5485ca9 | 2017-08-10 21:47:42 -0400 | [diff] [blame] | 111 | - python --version |
Davide Pesavento | f085ed1 | 2017-06-30 14:59:52 -0400 | [diff] [blame] | 112 | |
Joao Pereira | ef326da | 2015-05-27 18:27:40 -0400 | [diff] [blame] | 113 | script: |
Joao Pereira | ef326da | 2015-05-27 18:27:40 -0400 | [diff] [blame] | 114 | - ./.jenkins |