[wesnoth-commits] [wesnoth/wesnoth] 2a783b: Fix for failed ccache builds being considered succ...

GitHub noreply at github.com
Sat Mar 3 22:46:08 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2a783b0df2f9d8a75922fbde50419a809e372325
      https://github.com/wesnoth/wesnoth/commit/2a783b0df2f9d8a75922fbde50419a809e372325
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2018-03-03 (Sat, 03 Mar 2018)

  Changed paths:
    M utils/travis/docker_run.sh
    M utils/travis/steps/script.sh

  Log Message:
  -----------
  Fix for failed ccache builds being considered successful.

Travis looks at the return code of the final command run, and since printing the ccache statistics never fails, building would never be considered as failing. Manually calling exit also causes travis to treat the build as errored, since by sourcing the build it results in the entire travis wrapper shell exiting.




More information about the Commits mailing list