mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 05:11:01 +00:00
travis-ci: let add pre build files, gcc-6 get disable warning flags
This commit is contained in:
parent
e866630b22
commit
2dfdc99cb5
1 changed files with 2 additions and 2 deletions
|
@ -100,6 +100,7 @@ matrix:
|
|||
- libgme-dev
|
||||
- p7zip-full
|
||||
compiler: gcc-6
|
||||
env: WFLAGS=-Werror -Wno-tautological-compare -Wno-error=tautological-compare
|
||||
#gcc-6 (Ubuntu 6.1.1-3ubuntu11~14.04.1) 6.1.1 20160511
|
||||
- os: linux
|
||||
compiler: clang
|
||||
|
@ -150,8 +151,7 @@ before_script:
|
|||
- 7z x $HOME/srb2_cache/SRB2-v2115-assets-2.7z -oassets
|
||||
- mkdir build
|
||||
- cd build
|
||||
- export CFLAGS="-Wall -W -Werror -Wno-tautological-compare -Wno-error=tautological-compare"
|
||||
- $CC -Wno-error=tautological-compare -dM -E - < /dev/null&>/dev/null||export CFLAGS="Wall -W -Werror"
|
||||
- export CFLAGS="-Wall -W $WFLAGS"
|
||||
- cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
before_install:
|
||||
|
|
Loading…
Reference in a new issue