Make the Travis build fail if a command inside a script also fails
Created by: LuisAlejandro
Currently if a command inside a script fails, the script continues and exits 0. The correct approch is to inmediately exit 1 so the docker build command can fail. We cannot allow that these failures occur silently.