Skip to content

Commit

Permalink
Fix Travis build (fixes #1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Feb 24, 2018
1 parent 8a0b010 commit 6480d30
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sudo: required
language: android
jdk: oraclejdk8
dist: trusty
Expand All @@ -7,8 +6,6 @@ dist: trusty
android:
components:
- tools
- android-27
- build-tools-27.0.2
- platform-tools
- build-tools-27.0.2
- android-27
Expand All @@ -21,11 +18,13 @@ before_script:
- unzip -q android-ndk-r15c-linux-x86_64.zip
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r15c

# Install Golang
before_install:
- sudo add-apt-repository ppa:gophers/archive -y
- sudo apt-get update -qq
- sudo apt-get install golang-1.9-go -y
# Install Go using gimme tool
- curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
- chmod +x ~/bin/gimme
- eval "$(gimme 1.9)"
# Hack to accept Android licenses
- yes | sdkmanager "platforms;android-27"

# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
Expand Down

0 comments on commit 6480d30

Please sign in to comment.