summaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorMartin Maly <mmaly@google.com>2015-05-06 13:18:33 -0700
committerMartin Maly <mmaly@google.com>2015-05-06 16:50:30 -0700
commit508c39ee133d6725a4440ba98a1555e2026975c2 (patch)
treeda5a49a715a9af60fd6630e3462ad0b1bf8781c0 /travis.sh
parent535bc2fe2f2b467f59347ffc9449e11e47791257 (diff)
Resolve compilation errors if compiled with more stringent semantic checks.
Adding Travis test to build with strict warnings. Fixing a warning in a test which used signed/unsigned integer comparison.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/travis.sh b/travis.sh
index 26cf481..502b2f1 100755
--- a/travis.sh
+++ b/travis.sh
@@ -28,6 +28,16 @@ withprotobuf_script() {
make test
}
+# Build with strict warnings.
+warnings_install() {
+ :
+}
+warnings_script() {
+ make -j12 default WITH_MAX_WARNINGS=yes
+ make -j12 tests WITH_MAX_WARNINGS=yes
+ make test
+}
+
# A 32-bit build. Can only test the core because any dependencies
# need to be available as 32-bit libs also, which gets hairy fast.
# Can't enable the JIT because it only supports x64.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback