blob: abd85fe5825e7b1a8e13e06817436215ed73e7ab [file] [log] [blame]
Davide Pesavento4a1edc62016-05-03 18:03:19 +02001sudo: required
2language: generic
Eric Newberry9737aa82016-12-27 23:03:49 -07003env:
4 global:
5 - JOB_NAME=limited-build
Davide Pesaventof085ed12017-06-30 14:59:52 -04006
Alexander Afanasyev8a3081f2015-08-31 13:27:15 -07007matrix:
Davide Pesavento4a1edc62016-05-03 18:03:19 +02008 include:
Davide Pesaventof085ed12017-06-30 14:59:52 -04009 # Linux/gcc
Alexander Afanasyev8a3081f2015-08-31 13:27:15 -070010 - os: linux
Davide Pesavento4a1edc62016-05-03 18:03:19 +020011 dist: trusty
Alexander Afanasyeve4a2b032016-08-01 14:26:45 -070012 env:
Davide Pesaventof085ed12017-06-30 14:59:52 -040013 - CXX=g++-4.8
14 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
15 - BUILD_WITH_ASAN=yes
16 - os: linux
17 dist: trusty
18 addons:
19 apt:
20 sources: ubuntu-toolchain-r-test
21 packages: g++-4.9
22 env:
23 - CXX=g++-4.9
24 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
25 - BUILD_WITH_ASAN=yes
26 - os: linux
27 dist: trusty
28 addons:
29 apt:
30 sources: ubuntu-toolchain-r-test
31 packages: g++-5
32 env:
33 - CXX=g++-5
34 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
35 - BUILD_WITH_ASAN=yes
36 - os: linux
37 dist: trusty
38 addons:
39 apt:
40 sources: ubuntu-toolchain-r-test
41 packages: g++-6
42 env:
43 - CXX=g++-6
44 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
45 - BUILD_WITH_ASAN=yes
46 - os: linux
47 dist: trusty
48 addons:
49 apt:
50 sources: ubuntu-toolchain-r-test
51 packages: g++-7
52 env:
53 - CXX=g++-7
54 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
55 - BUILD_WITH_ASAN=yes
56
57 # Linux/clang
58 - os: linux
59 dist: trusty
60 addons:
61 apt:
62 packages: clang-3.5
63 env:
64 - CXX=clang++-3.5
65 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
66 - BUILD_WITH_ASAN=yes
67 - os: linux
68 dist: trusty
69 addons:
70 apt:
71 packages: clang-3.6
72 env:
73 - CXX=clang++-3.6
74 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
75 - BUILD_WITH_ASAN=yes
76 - os: linux
77 dist: trusty
78 addons:
79 apt:
80 sources:
81 - llvm-toolchain-precise-3.7
82 - ubuntu-toolchain-r-test
83 packages: clang-3.7
84 env:
85 - CXX=clang++-3.7
Alexander Afanasyeve4a2b032016-08-01 14:26:45 -070086 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
Davide Pesavento4a1edc62016-05-03 18:03:19 +020087 - os: linux
88 dist: trusty
Davide Pesaventof085ed12017-06-30 14:59:52 -040089 addons:
90 apt:
91 sources:
92 - llvm-toolchain-precise-3.8
93 - ubuntu-toolchain-r-test
94 packages: clang-3.8
Alexander Afanasyeve4a2b032016-08-01 14:26:45 -070095 env:
Davide Pesaventof085ed12017-06-30 14:59:52 -040096 - CXX=clang++-3.8
Alexander Afanasyeve4a2b032016-08-01 14:26:45 -070097 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
Davide Pesaventof085ed12017-06-30 14:59:52 -040098 - BUILD_WITH_ASAN=yes
99 - os: linux
100 dist: trusty
101 addons:
102 apt:
103 sources: llvm-toolchain-trusty-3.9
104 packages: clang-3.9
105 env:
106 - CXX=clang++-3.9
107 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
108 - os: linux
109 dist: trusty
110 addons:
111 apt:
112 sources: llvm-toolchain-trusty-4.0
113 packages: clang-4.0
114 env:
115 - CXX=clang++-4.0
116 - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
117 - BUILD_WITH_ASAN=yes
118
119 # macOS/clang
120 # https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Alexander Afanasyev8a3081f2015-08-31 13:27:15 -0700121 - os: osx
Davide Pesaventof085ed12017-06-30 14:59:52 -0400122 osx_image: xcode6.4
Alexander Afanasyeve4a2b032016-08-01 14:26:45 -0700123 env:
Davide Pesaventof085ed12017-06-30 14:59:52 -0400124 - NODE_LABELS="OSX OSX-10.10"
125 - os: osx
126 osx_image: xcode7.3
127 env:
128 - NODE_LABELS="OSX OSX-10.11"
129 - BUILD_WITH_ASAN=yes
130 - os: osx
131 osx_image: xcode8.3
132 env:
Alexander Afanasyevdc304c22017-01-06 04:22:46 +0000133 - NODE_LABELS="OSX OSX-10.12"
Davide Pesaventof085ed12017-06-30 14:59:52 -0400134 - BUILD_WITH_ASAN=yes
135
136before_script:
137 - ${CXX:-c++} --version
138
Joao Pereiraef326da2015-05-27 18:27:40 -0400139script:
Joao Pereiraef326da2015-05-27 18:27:40 -0400140 - ./.jenkins