Skip to content

Commit 0602d1e

Browse files
committed
Travis: build with -Werror
Rationale: new code/pull requests should not produce any warnings as per docs/Readme.developers.txt. This commit encodes this requirement into CI. We could add this to the default CFLAGS in configure, but this might be annoying during development where some warnings may be allowed.
1 parent 9923071 commit 0602d1e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ install:
1111
script:
1212
- ./.travis_configure_wrapper.sh && make
1313
env:
14-
- BUILD_TYPE=normal
15-
- CYASSL="3.3.2" BUILD_TYPE=cyassl
14+
global:
15+
- CFLAGS="-Werror"
16+
matrix:
17+
- BUILD_TYPE=normal
18+
- CYASSL="3.3.2" BUILD_TYPE=cyassl
1619
cache:
1720
directories:
1821
- dependencies-src

0 commit comments

Comments
 (0)