Skip to content

Commit ff306d3

Browse files
committed
enable -Wextra for travis builds
1 parent 5eaaf99 commit ff306d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,22 @@ matrix:
5757
- os: linux
5858
compiler: "clang-3.8"
5959
env: T="clang38_pg92_dbtest" LUAJIT_OPTION="OFF"
60-
CXXFLAGS="-pedantic -Werror"
60+
CXXFLAGS="-pedantic -Wextra -Werror"
6161
CC=clang-3.8 CXX=clang++-3.8
6262
addons: *clang38_pg92
6363

6464
- os: linux
6565
compiler: "clang-7"
6666
env: T="clang7_pg96_dbtest_luajit" LUAJIT_OPTION="ON"
67-
CXXFLAGS="-pedantic -Werror"
67+
CXXFLAGS="-pedantic -Wextra -Werror"
6868
CC=clang-7 CXX=clang++-7
6969
addons: *clang7_pg96
7070

7171
# ---- OSX + CLANG ---------------------------
7272
- os: osx
7373
compiler: clang
7474
env: T="osx_clang_NoDB" LUAJIT_OPTION="OFF" TEST_NODB=1
75-
CXXFLAGS="-pedantic -Werror"
75+
CXXFLAGS="-pedantic -Wextra -Werror"
7676
before_install:
7777
- brew install lua; brew install lua
7878
before_script:
@@ -84,14 +84,14 @@ matrix:
8484
- os: linux
8585
compiler: "gcc-4.8"
8686
env: T="gcc48_pg96_dbtest" LUAJIT_OPTION="OFF"
87-
CXXFLAGS="-pedantic -Werror"
87+
CXXFLAGS="-pedantic -Wextra -Werror"
8888
CC=gcc-4.8 CXX=g++-4.8
8989
addons: *gcc48_pg96
9090

9191
- os: linux
9292
compiler: gcc-8
9393
env: T="gcc8_pg96_dbtest_luajit" LUAJIT_OPTION="ON"
94-
CXXFLAGS="-pedantic -Werror"
94+
CXXFLAGS="-pedantic -Wextra -Werror"
9595
CC=gcc-8 CXX=g++-8
9696
addons: *gcc8_pg96
9797

0 commit comments

Comments
 (0)