mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
travis: turn on errors for some more serious compiler warnings
These warnings are upgraded to errors on several Open Build Service platforms, so Travis should notify us as well.
This commit is contained in:
@@ -15,7 +15,8 @@ matrix:
|
||||
- libpcre2-dev
|
||||
- python
|
||||
env:
|
||||
- CXXFLAGS="-Werror=address"
|
||||
# Some warnings upgraded to errors to match Open Build Service platforms
|
||||
- CXXFLAGS="-Werror=address -Werror=return-type"
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
addons:
|
||||
@@ -27,7 +28,7 @@ matrix:
|
||||
- g++-multilib
|
||||
- python
|
||||
env:
|
||||
- CXXFLAGS="-m32 -Werror=address" CFLAGS="-m32"
|
||||
- CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32"
|
||||
- os: linux
|
||||
compiler: clang
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user