Travis: treat warnings as errors
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 1 Oct 2016 15:49:55 +0000 (18:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 1 Oct 2016 15:57:13 +0000 (18:57 +0300)
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
.travis.yml

index d766b1ed6f8575dfcd8a7c073fa4cac9995aa520..b63d80a462d339b57561835446855c5cd9edd041 100644 (file)
@@ -53,7 +53,7 @@ matrix:
 script:
   - mkdir build
   - cd build
-  - CC=$MYCC CXX=$MYCXX cmake -DKMSXX_ENABLE_KMSCUBE=1 -DKMSXX_ENABLE_PYTHON=1 .. && make
+  - CC=$MYCC CXX=$MYCXX cmake -DTREAT_WARNINGS_AS_ERRORS=1 -DKMSXX_ENABLE_KMSCUBE=1 -DKMSXX_ENABLE_PYTHON=1 .. && make
 
 notifications:
   email: