Add 'set -e' to the Travis OSX script.

This ensures that the script actually fails if the build didn't succeed.
Merge pull request #2992 from Ms2ger/set-e-osx

Add 'set -e' to the Travis OSX script; r=Manishearth