_travis_terminate_MacOSX: command not found

Hey @marimeireles,

Couple examples how travis_terminate can be used, for example in a .travis.yml file I was making the other day it looked liked this:

travis_assert() {
  local result=${1:-$?}
  if [ $result -ne 0 ]; then
    echo -e "\n${ANSI_RED}The command \"$TRAVIS_CMD\" failed and exited with $result during $TRAVIS_STAGE.${ANSI_RESET}\n\nYour build has been stopped."
    travis_terminate 2
  fi
}

Another example would be:

travis_terminate() {
  set +e

Both of these resulted in non-issue. From briefly looking at your .travis.yml I don’t see anything wrong with it. I suggest you take a look at the following:

This will give you a better idea of the function of travis_terminate, and also I would suggest checking out this response by native-api, - and see with this information we can’t curb this issue!

I hope this helps, if none of this helps please post back and I’ll investigate further.

-Montana
(Travis CI Staff)