aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Williams <christianw@google.com>2016-07-18 11:52:46 -0700
committerChristian Williams <christianw@google.com>2016-07-18 11:52:46 -0700
commit85b9a68fa69b09acafae9a3a7801754f2549849f (patch)
treed2a9a4388071e8f8edcbb5f13967117845cbd2ef /.travis.yml
parent38d7397ecfc7185c12a283a935e5d1306fe2331c (diff)
downloadrobolectric-shadows-85b9a68fa69b09acafae9a3a7801754f2549849f.tar.gz
Install android components via travis bootstrap.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index d4d2b4004..029a3c213 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,15 +5,17 @@ jdk:
- oraclejdk7
- oraclejdk8
-cache:
- directories:
- - $HOME/.m2
+android:
+ components:
+ - tools
+ - platform-tools
+ - build-tools-20.0.0
+ - android-23
+ - addon-google_apis-google-23
+ - extra-android-m2repository
+ - extra-google-m2repository
before_install:
- - echo "y" | android update sdk --no-ui --filter platform-tools,tools
- - echo "y" | android update sdk --no-ui --filter build-tools-20.0.0
- - echo "y" | android update sdk --no-ui --filter android-23
- - echo "y" | android update sdk --no-ui --filter addon-google_apis-google-23,extra-android-m2repository,extra-google-m2repository
- ./scripts/install-dependencies.rb
script: