• D
    travis: move macOS before_install tasks into osx matrix entry · b94c9ea5
    Daniel P. Berrangé 提交于
    The list of commands we're running for the before_install task
    is rather large. We have it all on one line because we're
    wrapping it all in a test against TRAVIS_OS_NAME env variable.
    
    By moving it into the osx matrix entry we can remove the need
    for the conditional shell test. This lets us put each command
    on a separate line making the steps clear to understand.
    
    Fortunately the 'before_install' task does not have the crazy
    behaviour whereby travis ignores errors and runs all commands
    regardless, like the 'script' task does. The first command
    failing will cause an immediate stop with error status.
    Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    b94c9ea5
.travis.yml 4.7 KB