Wes McKinney created ARROW-4030:
-----------------------------------

             Summary: [CI] Use travis_terminate to halt builds when a step fails
                 Key: ARROW-4030
                 URL: https://issues.apache.org/jira/browse/ARROW-4030
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Continuous Integration
            Reporter: Wes McKinney
             Fix For: 0.12.0


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to