Make enabled warnings errors during CI builds

Related to #1043.
This commit is contained in:
Camilla Löwy 2017-07-17 21:17:14 +02:00
parent c0bc10427c
commit 4feede6dd5
2 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,7 @@ branches:
- master
skip_tags: true
environment:
CFLAGS: /WX
matrix:
- BUILD_SHARED_LIBS: ON
- BUILD_SHARED_LIBS: OFF

View File

@ -20,8 +20,11 @@ addons:
- libxcursor-dev
- libxi-dev
env:
- BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF
global:
- CFLAGS=-Werror
matrix:
- BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF
script:
- mkdir build
- cd build