aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-20 17:33:58 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-01-20 17:33:58 +0800
commit7814a8e1315b1746d5260562de4c0b6f161a1cc9 (patch)
tree0c4c40b05c4800e1bce51b761ff123245e6557fd /.travis.yml
parentebc3d232f4b6c197d5dc5da2e1868d56b2096f1a (diff)
downloadgo-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar.gz
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar.bz2
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar.lz
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar.xz
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.tar.zst
go-tangerine-7814a8e1315b1746d5260562de4c0b6f161a1cc9.zip
travis: Install Android NDK explicitly, removed from gomobile (#3593)
The Android NDK was recently removed from gomobile, leading to our Android builds failing. Starting from https://go-review.googlesource.com/#/c/35173/ , gomobile requires a locally installed NDK. This PR ensures that travis installs that too before running the build steps.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index baa5db7ba..3384f3ec6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,10 +65,11 @@ matrix:
# Build the Android archive and upload it to Maven Central and Azure
- brew update
- - brew install android-sdk maven gpg
+ - travis_wait 60 brew install android-sdk android-ndk maven gpg
- alias gpg="gpg2"
- export ANDROID_HOME=/usr/local/opt/android-sdk
+ - export ANDROID_NDK=/usr/local/opt/android-ndk
- echo "y" | android update sdk --no-ui --filter `android list sdk | grep "SDK Platform Android" | grep -E 'API 15|API 19|API 24' | awk '{print $1}' | cut -d '-' -f 1 | tr '\n' ','`
- go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds