Skip to content

Commit e11f3d2

Browse files
authored
Add -Werror to Travis build (#160)
1 parent 6bb7635 commit e11f3d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ matrix:
5757
skip_cleanup: true
5858
github_token: $GITHUB_API_TOKEN
5959
local_dir: build/doc/html
60-
before_script:
60+
before_script:
6161
- cd $TRAVIS_BUILD_DIR; mkdir build; cd build
62+
- CXXFLAGS="${CXXFLAGS} -Werror"
6263
script:
6364
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DCMAKE_BUILD_TYPE=Debug;
6465
else

0 commit comments

Comments
 (0)