title: running sh script on travis CI: The command exited with 1
body: <p>I am running an sh script as part of my .travis.yml. It is giving me the error below although the shell script does not fail.</p>
  
  <blockquote>
    <p>The command exited with 1.</p>
  </blockquote>
  
  <p>I tried running the with bash -x to debug and there are no errors.
  The problem is that travis thinks that the build failed although it passed.</p>