Fix the Travis configuration

``exit`` should not be used in script commands, because it exits the whole build script.
Thus, turning a failure exit code into another failure exit code is not needed.