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 - master
skip_tags: true skip_tags: true
environment: environment:
CFLAGS: /WX
matrix: matrix:
- BUILD_SHARED_LIBS: ON - BUILD_SHARED_LIBS: ON
- BUILD_SHARED_LIBS: OFF - BUILD_SHARED_LIBS: OFF

View File

@ -20,6 +20,9 @@ addons:
- libxcursor-dev - libxcursor-dev
- libxi-dev - libxi-dev
env: env:
global:
- CFLAGS=-Werror
matrix:
- BUILD_SHARED_LIBS=ON - BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF - BUILD_SHARED_LIBS=OFF
script: script: