blob: eaf279c5bf7944621803286b7c10fe6adefe8fae [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:
104 sources: llvm-toolchain-trusty-3.9
105 packages: clang-3.9
106 env:
107 - CXX=clang++-3.9
108 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
109 - os: linux
110 dist: trusty
111 addons:
112 apt:
113 sources: llvm-toolchain-trusty-4.0
114 packages: clang-4.0
115 env:
116 - CXX=clang++-4.0
117 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
118 - BUILD_WITH_ASAN=yes
119
120 # macOS/clang
121 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Alexander Afanasyev6602b3b2016-03-15 14:14:11 -0700122 - os: osx
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400123 osx_image: xcode7.3
Davide Pesaventoe0edc4c2016-09-13 18:29:52 +0000124 env:
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400125 - NODE_LABELS="OSX OSX-10.11"
126 - BUILD_WITH_ASAN=yes
127 - os: osx
128 osx_image: xcode8.3
129 env:
Alexander Afanasyev16320cd2017-01-06 04:22:46 +0000130 - NODE_LABELS="OSX OSX-10.12"
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400131 - BUILD_WITH_ASAN=yes
132
133before_script:
134 - ${CXX:-c++} --version
Davide Pesavento8ca138d2017-08-10 21:36:30 -0400135 - python --version
Davide Pesavento9ac95d32017-07-01 01:51:37 -0400136
Yi Huang71929b32014-01-29 21:47:09 -0700137script:
Alexander Afanasyev4d4e7252014-10-25 12:21:53 -0700138 - ./.jenkins