Skip to content

Commit

Permalink
Take over travis deps (firebase#285)
Browse files Browse the repository at this point in the history
Change-Id: I92e7e3957d7c48f68fa7e06d4e0d1fb894ccf99e
  • Loading branch information
samtstern authored Jun 16, 2017
1 parent d28a93a commit 11e81d4
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ jdk:
- oraclejdk8
android:
components:
# https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943
- tools
- tools
- build-tools-25.0.3
- android-25
- platform-tools
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- extra-android-support
- addon-google_apis-google-24
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
Expand All @@ -25,25 +18,29 @@ cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

env:
- SAMPLE=admob
- SAMPLE=analytics
- SAMPLE=app-indexing
- SAMPLE=auth
- SAMPLE=config
- SAMPLE=crash
- SAMPLE=database
- SAMPLE=dynamiclinks
- SAMPLE=admob
- SAMPLE=analytics
- SAMPLE=app-indexing
- SAMPLE=auth
- SAMPLE=config
- SAMPLE=crash
- SAMPLE=database
- SAMPLE=dynamiclinks
- SAMPLE=invites
- SAMPLE=perf
- SAMPLE=messaging
- SAMPLE=messaging
- SAMPLE=storage

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"

before_script:
- ${ANDROID_HOME}tools/bin/sdkmanager --channel=3 "tools" "platform-tools" "build-tools;25.0.3" "platforms;android-25" "extras;google;m2repository" "extras;android;m2repository"

script:
- ./build.sh

0 comments on commit 11e81d4

Please sign in to comment.