jamonholmgren / ProMotion

ProMotion is a RubyMotion gem that makes iPhone development less like Objective-C and more like Ruby.
MIT License
1.26k stars 148 forks source link

Fix Travis build failure #787

Closed afestein closed 8 years ago

afestein commented 8 years ago

When RubyMotion is updated during the Travis build, the update command returns an exit code of 1 if the software is already up to date. According to the Travis documentation, a non-zero exit code will cause the build to fail.

See https://travis-ci.org/infinitered/ProMotion/builds/145458532 for an example of a failing build.

Catching this non-error lets us continue with the build.

andrewhavens commented 8 years ago

motion update returns a non-zero exit code when it is already up to date? :facepalm:

Thanks for fixing this. 👍