travis: use Android NDK 16b (#16562)

This commit is contained in:
ligi 2018-05-10 12:33:13 +02:00 committed by Péter Szilágyi
parent 53a18d2e27
commit fcc18f4c80
1 changed files with 4 additions and 4 deletions

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-r15c-linux-x86_64.zip -o android-ndk-r15c.zip - curl https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -o android-ndk-r16b.zip
- unzip -q android-ndk-r15c.zip && rm android-ndk-r15c.zip - unzip -q android-ndk-r16b.zip && rm android-ndk-r16b.zip
- mv android-ndk-r15c $HOME - mv android-ndk-r16b $HOME
- export ANDROID_NDK=$HOME/android-ndk-r15c - export ANDROID_NDK=$HOME/android-ndk-r16b
- 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