4
4
include :
5
5
6
6
- &formatting-stage
7
- stage : Linter + Doxygen + non-debug Ubuntu/gcc-5 build
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 Ubuntu/gcc-5 build
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 Ubuntu/gcc-5 build
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 Ubuntu/gcc-5 build
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 Ubuntu/gcc-5 build
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 Ubuntu/gcc-5 build
95
+ - stage : Linter + Doxygen + non-debug builds
96
96
os : linux
97
97
compiler : gcc
98
98
cache : ccache
@@ -113,8 +113,48 @@ jobs:
113
113
- cmake --build build -- -j4
114
114
script : echo "Tests are run in the next stage."
115
115
116
+ # OS X using clang++
117
+ - stage : Linter + Doxygen + non-debug builds
118
+ os : osx
119
+ sudo : false
120
+ compiler : clang
121
+ cache : ccache
122
+ before_install :
123
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache parallel
124
+ - export PATH=$PATH:/usr/local/opt/ccache/libexec
125
+ env : COMPILER="ccache clang++"
126
+ script : echo "Tests are run in the next stage."
127
+
128
+ # Ubuntu Linux with glibc using clang++-3.7, no-debug mode
129
+ - stage : Linter + Doxygen + non-debug builds
130
+ os : linux
131
+ sudo : false
132
+ compiler : clang
133
+ cache : ccache
134
+ addons :
135
+ apt :
136
+ sources :
137
+ - ubuntu-toolchain-r-test
138
+ - llvm-toolchain-precise-3.7
139
+ packages :
140
+ - libwww-perl
141
+ - clang-3.7
142
+ - libstdc++-5-dev
143
+ - libubsan0
144
+ - parallel
145
+ - libc6-dev-i386
146
+ before_install :
147
+ - mkdir bin ; ln -s /usr/bin/gcc-5 bin/gcc
148
+ - export CCACHE_CPP2=yes
149
+ # env: COMPILER=clang++-3.7 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
150
+ env :
151
+ - COMPILER="ccache /usr/bin/clang++-3.7"
152
+ - EXTRA_CXXFLAGS="-Qunused-arguments -fcolor-diagnostics -DNDEBUG"
153
+ - CCACHE_CPP2=yes
154
+ script : echo "Tests are run in the next stage."
155
+
116
156
# Ubuntu Linux with glibc using g++-5
117
- - stage : Test different OS/CXX/Flags
157
+ - stage : Linter + Doxygen + non-debug builds
118
158
os : linux
119
159
sudo : false
120
160
compiler : gcc
@@ -135,6 +175,24 @@ jobs:
135
175
env :
136
176
- COMPILER="ccache /usr/bin/g++-5"
137
177
- EXTRA_CXXFLAGS="-D_GLIBCXX_DEBUG"
178
+ script : echo "Tests are run in the next stage."
179
+
180
+ - stage : Linter + Doxygen + non-debug builds
181
+ os : osx
182
+ compiler : clang
183
+ cache : ccache
184
+ before_install :
185
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
186
+ - export PATH=$PATH:/usr/local/opt/ccache/libexec
187
+ env :
188
+ - BUILD_SYSTEM=cmake
189
+ - CCACHE_CPP2=yes
190
+ install :
191
+ - ccache -z
192
+ - ccache --max-size=1G
193
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
194
+ - cmake --build build -- -j4
195
+ script : echo "Tests are run in the next stage."
138
196
139
197
# OS X using clang++
140
198
- stage : Test different OS/CXX/Flags
0 commit comments