blob: 1aa5f44181e1077df04e0b9f53702bcf18bd7ae8 [file] [log] [blame]
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -07001sudo: required
2language: generic
3env:
4 global:
5 - JOB_NAME=limited-build
Davide Pesavento9ac95d32017-07-01 01:51:37 -04006 - WAF_JOBS=2
7
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -07008matrix:
9 include:
Davide Pesavento9ac95d32017-07-01 01:51:37 -040010 # Linux/gcc
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -070011 - os: linux
12 dist: trusty
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +000013 env:
Davide Pesavento9ac95d32017-07-01 01:51:37 -040014 - CXX=g++-4.8
15 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
16 - BUILD_WITH_ASAN=yes
17 - os: linux
18 dist: trusty
19 addons:
20 apt:
21 sources: ubuntu-toolchain-r-test
22 packages: g++-4.9
23 env:
24 - CXX=g++-4.9
25 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
26 - BUILD_WITH_ASAN=yes
27 - os: linux
28 dist: trusty
29 addons:
30 apt:
31 sources: ubuntu-toolchain-r-test
32 packages: g++-5
33 env:
34 - CXX=g++-5
35 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
36 - BUILD_WITH_ASAN=yes
37 - os: linux
38 dist: trusty
39 addons:
40 apt:
41 sources: ubuntu-toolchain-r-test
42 packages: g++-6
43 env:
44 - CXX=g++-6
45 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
46 - BUILD_WITH_ASAN=yes
47 - os: linux
48 dist: trusty
49 addons:
50 apt:
51 sources: ubuntu-toolchain-r-test
52 packages: g++-7
53 env:
54 - CXX=g++-7
55 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
56 - BUILD_WITH_ASAN=yes
57
58 # Linux/clang
59 - os: linux
60 dist: trusty
61 addons:
62 apt:
63 packages: clang-3.5
64 env:
65 - CXX=clang++-3.5
66 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
67 - BUILD_WITH_ASAN=yes
68 - os: linux
69 dist: trusty
70 addons:
71 apt:
72 packages: clang-3.6
73 env:
74 - CXX=clang++-3.6
75 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
76 - BUILD_WITH_ASAN=yes
77 - os: linux
78 dist: trusty
79 addons:
80 apt:
81 sources:
82 - llvm-toolchain-precise-3.7
83 - ubuntu-toolchain-r-test
84 packages: clang-3.7
85 env:
86 - CXX=clang++-3.7
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +000087 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -070088 - os: linux
89 dist: trusty
Davide Pesavento9ac95d32017-07-01 01:51:37 -040090 addons:
91 apt:
92 sources:
93 - llvm-toolchain-precise-3.8
94 - ubuntu-toolchain-r-test
95 packages: clang-3.8
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +000096 env:
Davide Pesavento9ac95d32017-07-01 01:51:37 -040097 - CXX=clang++-3.8
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +000098 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
Davide Pesavento9ac95d32017-07-01 01:51:37 -040099 - BUILD_WITH_ASAN=yes
100 - os: linux
101 dist: trusty
102 addons:
103 apt:
Davide Pesavento085b9e32017-09-14 23:56:18 -0400104 sources:
105 - llvm-toolchain-trusty-3.9
106 - ubuntu-toolchain-r-test
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400107 packages: clang-3.9
108 env:
109 - CXX=clang++-3.9
110 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
111 - os: linux
112 dist: trusty
113 addons:
114 apt:
Davide Pesavento085b9e32017-09-14 23:56:18 -0400115 sources:
116 - llvm-toolchain-trusty-4.0
117 - ubuntu-toolchain-r-test
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400118 packages: clang-4.0
119 env:
120 - CXX=clang++-4.0
121 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
122 - BUILD_WITH_ASAN=yes
Davide Pesavento085b9e32017-09-14 23:56:18 -0400123 - os: linux
124 dist: trusty
125 addons:
126 apt:
127 sources:
128 - llvm-toolchain-trusty-5.0
129 - ubuntu-toolchain-r-test
130 packages: clang-5.0
131 env:
132 - CXX=clang++-5.0
133 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
134 - BUILD_WITH_ASAN=yes
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400135
136 # macOS/clang
137 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -0700138 - os: osx
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400139 osx_image: xcode7.3
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +0000140 env:
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400141 - NODE_LABELS="OSX OSX-10.11"
142 - BUILD_WITH_ASAN=yes
143 - os: osx
144 osx_image: xcode8.3
145 env:
Alexander Afanasyev16320cd2017-01-06 04:22:46 +0000146 - NODE_LABELS="OSX OSX-10.12"
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400147 - BUILD_WITH_ASAN=yes
148
149before_script:
150 - ${CXX:-c++} --version
Davide Pesavento8ca138d2017-08-10 21:36:30 -0400151 - python --version
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400152
Yi Huang71929b32014-01-29 21:47:09 -0700153script:
Alexander Afanasyev4d4e7252014-10-25 12:21:53 -0700154 - ./.jenkins