Travis state script: Fails if API is unreachable
Travis is currently doing planned maintenance, the API is therefore unreachable. This made the last two script runs fail. I would like to handle this better in the script, but I'm unsure how: Should the script exit with 0
or 1
in this case?