Fixing issues raised by findbugs.
Reordered Travis config.