diff options
author | Leith Bade <leith@mapbox.com> | 2014-12-09 22:44:12 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-12-09 22:44:12 +1100 |
commit | 6fecb80405944edeb87cfda4ccc6ccbe685c842c (patch) | |
tree | 8c8f2ba4f1f12167a9988b3e96adba81326d52ee /scripts | |
parent | 2967bd85e4133878c9e6997455670b73b2e1696a (diff) | |
download | qtlocation-mapboxgl-6fecb80405944edeb87cfda4ccc6ccbe685c842c.tar.gz |
Go back to 7z NDK
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis_before_install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh index 5aaf5f8b85..ff1319d0b4 100755 --- a/scripts/travis_before_install.sh +++ b/scripts/travis_before_install.sh @@ -11,6 +11,22 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then echo "load submodules" git submodule update --init --recursive + echo "installing 7z" + MASON_PLATFORM= ./.mason/mason install 7z 9.20 + + echo "setting 7z path" + SEVEN_ZIP_PATH="$(MASON_PLATFORM= ./.mason/mason prefix 7z 9.20)/bin/7za" + + echo "fetching NDK" + wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin + + echo "chmod NDK" + chmod a+x ./android-ndk-r10c-linux-x86_64.bin + + echo "unpacking NDK" + $SEVEN_ZIP_PATH x ./android-ndk-r10c-linux-x86_64.bin > .tmp-ndk-log + rm .tmp-ndk-log + echo "fetching JDK" wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz |