[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-4030) [CI] Use travis_terminate to halt builds when a step fails

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



I also found this discussion


This message was sent by Atlassian JIRA