Skip to content

Commit

Permalink
Fix travis: add accept license
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene committed Jan 16, 2017
1 parent e975695 commit 01917c1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: android
jdk: oraclejdk8
os: linux
sudo: false
sudo: required

android:
components:
Expand All @@ -15,4 +15,12 @@ android:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'

# Accept ConstraintLayout license
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"
- chmod +x gradlew
- ./gradlew dependencies || true

script: ./gradlew build --stacktrace

0 comments on commit 01917c1

Please sign in to comment.