Enhanced travis script to end execution on error