Travis CI builds don't fail when there's an error in the code

Travis should report a failure when there's an error in the code, see https://travis-ci.org/osrf/capabilities/builds/16155234#L1321