travis: Enable -Wsparse-error and fail on new sparse warnings
authorThomas Graf <tgraf@noironetworks.com>
Tue, 11 Nov 2014 13:51:46 +0000 (14:51 +0100)
committerBen Pfaff <blp@nicira.com>
Tue, 11 Nov 2014 15:46:45 +0000 (07:46 -0800)
commit67af7d70c02416b6e2bca5c98896bc7eb9ccc2a4
treec9011bb516f0b3aefddb9bfc5b6035aa72c24047
parentc453c5af57d28b2ea2c877bb09963850eb51e26d
travis: Enable -Wsparse-error and fail on new sparse warnings

A new option -Wsparse-error has been introduced to sparse in the
commits:

4d8811 sparse: Make -Werror turn warnigns into errors
fe57af rename -Werror to -Wsparse-error

which makes sparse fail on warnings. Start using the sparse git tree
for verification and make use of the new flag.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
.travis/build.sh
.travis/prepare.sh