Travis not accumulating build exit codes -
i have following .travis.yml
:
sudo: required language: node_js branches: only: - master before_install: - curl https://install.meteor.com | /bin/sh - npm install standard -g script: - standard - sh run_tests.sh - '[ "${travis_pull_request}" != "false" ] && bash check_for_new_version_number.bash' - '[ "${travis_pull_request}" = "false" ] && printf $li | meteor login && meteor publish || exit 0'
if of build commands fail (exit code != 0) build still marked success, last command exists 0. if change last command exit 1, build fail.
according http://docs.travis-ci.com/user/customizing-the-build/#customizing-the-build-step, exit codes should accumulate , build should fail if fail. missing?
thanks!
Comments
Post a Comment