travis: use NDK 17b for Android archives (#17029)

This commit is contained in:
ligi 2018-06-20 10:28:10 +02:00 committed by Péter Szilágyi
parent f1986f86f2
commit c971ab617d

View File

@ -152,10 +152,10 @@ matrix:
- export GOPATH=$HOME/go - export GOPATH=$HOME/go
script: script:
# Build the Android archive and upload it to Maven Central and Azure # Build the Android archive and upload it to Maven Central and Azure
- curl https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -o android-ndk-r16b.zip - curl https://dl.google.com/android/repository/android-ndk-r17b-linux-x86_64.zip -o android-ndk-r17b.zip
- unzip -q android-ndk-r16b.zip && rm android-ndk-r16b.zip - unzip -q android-ndk-r17b.zip && rm android-ndk-r17b.zip
- mv android-ndk-r16b $HOME - mv android-ndk-r17b $HOME
- export ANDROID_NDK=$HOME/android-ndk-r16b - export ANDROID_NDK=$HOME/android-ndk-r17b
- mkdir -p $GOPATH/src/github.com/ethereum - mkdir -p $GOPATH/src/github.com/ethereum
- ln -s `pwd` $GOPATH/src/github.com/ethereum - ln -s `pwd` $GOPATH/src/github.com/ethereum