blob: 0db46597ba63522d87bdf59244081ce7c300654c [file] [log] [blame]
Davide Pesavento437adfe2018-01-11 02:20:42 -05001language: cpp
2dist: trusty
Alexander Afanasyev5ec9ae42016-07-28 14:30:21 -07003sudo: required
Davide Pesavento813df802017-08-20 20:53:54 -04004env:
5 global:
6 - JOB_NAME=limited-build
7 - WAF_JOBS=2
Davide Pesavento6a81b772017-08-20 18:43:46 -04008
Alexander Afanasyev5ec9ae42016-07-28 14:30:21 -07009matrix:
10 include:
Davide Pesavento6a81b772017-08-20 18:43:46 -040011 # Linux/gcc
Davide Pesavento437adfe2018-01-11 02:20:42 -050012 # https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+packages
Alexander Afanasyev5ec9ae42016-07-28 14:30:21 -070013 - os: linux
Davide Pesavento437adfe2018-01-11 02:20:42 -050014 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 Pesavento6a81b772017-08-20 18:43:46 -040039
40 # Linux/clang
Davide Pesavento437adfe2018-01-11 02:20:42 -050041 # https://apt.llvm.org/
Alexander Afanasyev5ec9ae42016-07-28 14:30:21 -070042 - os: linux
Davide Pesavento437adfe2018-01-11 02:20:42 -050043 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 Pesavento6a81b772017-08-20 18:43:46 -040082
83 # macOS/clang
84 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Alexander Afanasyev5ec9ae42016-07-28 14:30:21 -070085 - os: osx
Davide Pesavento437adfe2018-01-11 02:20:42 -050086 osx_image: xcode7.3
87 env: OSX_VERSION=10.11
88 - os: osx
Davide Pesavento813df802017-08-20 20:53:54 -040089 osx_image: xcode8.3
Davide Pesavento437adfe2018-01-11 02:20:42 -050090 env: OSX_VERSION=10.12
91 - os: osx
92 osx_image: xcode9.2
93 env: OSX_VERSION=10.12
Davide Pesavento6a81b772017-08-20 18:43:46 -040094
95before_script:
Davide Pesavento437adfe2018-01-11 02:20:42 -050096 - 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 Pesavento6a81b772017-08-20 18:43:46 -040099 - ${CXX:-c++} --version
100 - python --version
101
Alexander Afanasyev24ed83a2015-03-30 11:06:50 -0700102script:
103 - ./.jenkins