Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4030

[CI] Use travis_terminate to halt builds when a step fails

    XMLWordPrintableJSON

Details

    Description

      I noticed that Travis CI will soldier onward if a step in its script: block fails. This wastes build time when there is an error somewhere early on in the testing process

      For example, in the main C++ build, if travis_script_cpp.sh fails, then the subsequent steps will continue.

      It seems the way to deal with this is to add || travis_terminate 1 to lines that can fail

      see

      https://medium.com/@manjula.cse/how-to-stop-the-execution-of-travis-pipeline-if-script-exits-with-an-error-f0e5a43206bf

      I also found this discussion

      https://github.com/travis-ci/travis-ci/issues/1066

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m