4
4
include :
5
5
6
6
- &formatting-stage
7
- stage : Linter + Doxygen + non-debug GCC builds
7
+ stage : Linter + Doxygen + non-debug builds
8
8
env : NAME="clang-format"
9
9
addons :
10
10
apt :
@@ -32,20 +32,20 @@ jobs:
32
32
before_cache :
33
33
34
34
- &linter-stage
35
- stage : Linter + Doxygen + non-debug GCC builds
35
+ stage : Linter + Doxygen + non-debug builds
36
36
env : NAME="CPP-LINT"
37
37
install :
38
38
script : scripts/travis_lint.sh
39
39
before_cache :
40
40
41
41
- &string-table-check
42
- stage : Linter + Doxygen + non-debug GCC builds
42
+ stage : Linter + Doxygen + non-debug builds
43
43
env : NAME="string-table"
44
44
install :
45
45
script : scripts/string_table_check.sh
46
46
before_cache :
47
47
48
- - stage : Linter + Doxygen + non-debug GCC builds
48
+ - stage : Linter + Doxygen + non-debug builds
49
49
env : NAME="DOXYGEN-CHECK"
50
50
addons :
51
51
apt :
69
69
- scripts/publish_doc.sh
70
70
71
71
# Ubuntu Linux with glibc using g++-5
72
- - stage : Linter + Doxygen + non-debug GCC builds
72
+ - stage : Linter + Doxygen + non-debug builds
73
73
os : linux
74
74
sudo : false
75
75
compiler : gcc
92
92
script : echo "Tests are run in the next stage."
93
93
94
94
# cmake build using g++-5
95
- - stage : Linter + Doxygen + non-debug GCC builds
95
+ - stage : Linter + Doxygen + non-debug builds
96
96
os : linux
97
97
compiler : gcc
98
98
cache : ccache
@@ -114,7 +114,7 @@ jobs:
114
114
script : echo "Tests are run in the next stage."
115
115
116
116
# OS X using g++
117
- - stage : Linter + Doxygen + non-debug GCC builds
117
+ - stage : Linter + Doxygen + non-debug builds
118
118
os : osx
119
119
sudo : false
120
120
compiler : gcc
@@ -125,8 +125,48 @@ jobs:
125
125
env : COMPILER="ccache g++"
126
126
script : echo "Tests are run in the next stage."
127
127
128
+ # OS X using clang++
129
+ - stage : Linter + Doxygen + non-debug builds
130
+ os : osx
131
+ sudo : false
132
+ compiler : clang
133
+ cache : ccache
134
+ before_install :
135
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache parallel
136
+ - export PATH=$PATH:/usr/local/opt/ccache/libexec
137
+ env : COMPILER="ccache clang++"
138
+ script : echo "Tests are run in the next stage."
139
+
140
+ # Ubuntu Linux with glibc using clang++-3.7, no-debug mode
141
+ - stage : Linter + Doxygen + non-debug builds
142
+ os : linux
143
+ sudo : false
144
+ compiler : clang
145
+ cache : ccache
146
+ addons :
147
+ apt :
148
+ sources :
149
+ - ubuntu-toolchain-r-test
150
+ - llvm-toolchain-precise-3.7
151
+ packages :
152
+ - libwww-perl
153
+ - clang-3.7
154
+ - libstdc++-5-dev
155
+ - libubsan0
156
+ - parallel
157
+ - libc6-dev-i386
158
+ before_install :
159
+ - mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
160
+ - export CCACHE_CPP2=yes
161
+ # env: COMPILER=clang++-3.7 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
162
+ env :
163
+ - COMPILER="ccache /usr/bin/clang++-3.7"
164
+ - EXTRA_CXXFLAGS="-Qunused-arguments -fcolor-diagnostics -DNDEBUG"
165
+ - CCACHE_CPP2=yes
166
+ script : echo "Tests are run in the next stage."
167
+
128
168
# Ubuntu Linux with glibc using g++-5
129
- - stage : Test different OS/CXX/Flags
169
+ - stage : Linter + Doxygen + non-debug builds
130
170
os : linux
131
171
sudo : false
132
172
compiler : gcc
@@ -147,6 +187,24 @@ jobs:
147
187
env :
148
188
- COMPILER="ccache /usr/bin/g++-5"
149
189
- EXTRA_CXXFLAGS="-D_GLIBCXX_DEBUG"
190
+ script : echo "Tests are run in the next stage."
191
+
192
+ - stage : Linter + Doxygen + non-debug builds
193
+ os : osx
194
+ compiler : clang
195
+ cache : ccache
196
+ before_install :
197
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
198
+ - export PATH=$PATH:/usr/local/opt/ccache/libexec
199
+ env :
200
+ - BUILD_SYSTEM=cmake
201
+ - CCACHE_CPP2=yes
202
+ install :
203
+ - ccache -z
204
+ - ccache --max-size=1G
205
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
206
+ - cmake --build build -- -j4
207
+ script : echo "Tests are run in the next stage."
150
208
151
209
# OS X using clang++
152
210
- stage : Test different OS/CXX/Flags
0 commit comments