Skip to content

Commit

Permalink
modify sdk licenses in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liying2008 committed Dec 3, 2017
1 parent b7de7d1 commit 0856204
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ android:
components:
- platform-tools
- tools
- build-tools-27.0.1
- android-26
- extra-android-m2repository

before_install:
- mkdir -p $ANDROID_HOME/licenses
- echo '8933bad161af4178b1185d1a37fbf41ea5269c55' > $ANDROID_HOME/licenses/android-sdk-license
- echo '84831b9409646a918e30573bab4c9c91346d8abd' > $ANDROID_HOME/licenses/android-sdk-preview-license
- echo -e '\n8933bad161af4178b1185d1a37fbf41ea5269c55' > $ANDROID_HOME/licenses/android-sdk-license
- echo -e '\nd56f5187479451eabf01fb78af6dfcb131a6481e' >> $ANDROID_HOME/licenses/android-sdk-license

before_script:
- chmod +x gradlew
Expand All @@ -26,4 +25,4 @@ cache:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

script: ./gradlew build
script: ./gradlew build

0 comments on commit 0856204

Please sign in to comment.