Skip to content

Commit 2177bbc

Browse files
committed
Remove extra build with NDEBUG that compiles but doesn't test.
Instead, add NDEBUG to a linux clang build that runs regression.
1 parent 4fa3ba5 commit 2177bbc

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

.travis.yml

+2-27
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
- EXTRA_CXXFLAGS="-DDEBUG"
116116
script: echo "Not running any tests for a debug build."
117117

118-
# Ubuntu Linux with glibc using clang++-3.7
118+
# Ubuntu Linux with glibc using clang++-3.7, no-debug mode
119119
- stage: Test different OS/CXX/Flags
120120
os: linux
121121
sudo: false
@@ -138,6 +138,7 @@ jobs:
138138
env:
139139
- COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
140140
- CCACHE_CPP2=yes
141+
- EXTRA_CXXFLAGS="-DNDEBUG"
141142

142143
# Ubuntu Linux with glibc using clang++-3.7, debug mode
143144
- stage: Test different OS/CXX/Flags
@@ -165,32 +166,6 @@ jobs:
165166
- EXTRA_CXXFLAGS="-DDEBUG"
166167
script: echo "Not running any tests for a debug build."
167168

168-
# Ubuntu Linux with glibc using clang++-3.7, no-debug mode
169-
- stage: Test different OS/CXX/Flags
170-
os: linux
171-
sudo: false
172-
compiler: clang
173-
cache: ccache
174-
addons:
175-
apt:
176-
sources:
177-
- ubuntu-toolchain-r-test
178-
- llvm-toolchain-precise-3.7
179-
packages:
180-
- libwww-perl
181-
- clang-3.7
182-
- libstdc++-5-dev
183-
- libubsan0
184-
before_install:
185-
- mkdir bin ; ln -s /usr/bin/clang-3.7 bin/gcc
186-
- export CCACHE_CPP2=yes
187-
env:
188-
- COMPILER="ccache clang++-3.7 -Qunused-arguments -fcolor-diagnostics"
189-
- CCACHE_CPP2=yes
190-
# Disable known warnings caused by -DCPROVER_INVARIANT_DO_NOT_CHECK.
191-
- EXTRA_CXXFLAGS="-DNDEBUG -DCPROVER_INVARIANT_DO_NOT_CHECK -Wno-return-type -Wno-unused-variable -Wno-sometimes-uninitialized -Wno-unused-function"
192-
script: echo "Not running any tests for a debug build."
193-
194169
# cmake build using g++-5
195170
- stage: Test different OS/CXX/Flags
196171
os: linux

0 commit comments

Comments
 (0)