Improve android install robustness.

Review Request #3725 - Created April 19, 2016 and submitted

Information
John Sirois
pants
jsirois/android/fail_ci_faster
3225
Reviewers
pants-reviews
mateor
This change sets up the script to fail-fast; thus fail Travis-CI more
quickly and clearly when there are android install errrors. It also
succeeds more quickly when the install has already completed successfully
once for a given android sdk tarball and module list.

 .travis.yml                              |  6 ++--
 build-support/bin/install-android-sdk.sh | 77 ++++++++++++++++++++++++++++----------------------
 2 files changed, 46 insertions(+), 37 deletions(-)
Extensive local testing with various interrupts.

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/124303065
John Sirois
John Sirois
Mateo Rodriguez
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit cdca712412301b72b08cfb7501e117b9597d21ae
Author: John Sirois <john.sirois@gmail.com>
Date:   Tue Apr 19 16:51:42 2016 -0600

    Improve android install robustness.
    
    This change sets up the script to fail-fast; thus fail Travis-CI more
    quickly and clearly when there are android install errrors. It also
    succeeds more quickly when the install has already completed successfully
    once for a given android sdk tarball and module list.
    
    Testing Done:
    Extensive local testing with various interrupts.
    
    CI went green here:
      https://travis-ci.org/pantsbuild/pants/builds/124303065
    
    Bugs closed: 3225
    
    Reviewed at https://rbcommons.com/s/twitter/r/3725/
Loading...