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